edolstra / dwarffs Goto Github PK
View Code? Open in Web Editor NEWA FUSE filesystem that allows tools like gdb to look up debug info files via HTTP
License: GNU General Public License v3.0
A FUSE filesystem that allows tools like gdb to look up debug info files via HTTP
License: GNU General Public License v3.0
While trying to use this I discovered that the README is outdated since it doesn't yet talk about flakes and the module.nix
had been (re)moved in 2f984ab.
Hi, I pull this into my flake, and attempting to update my lock fails with master because nixFlakes in nixos/nixpkgs/master is now around a month old. If there isn't any significant difference, could the flake.lock in this be monkeypatched to version 4? Alternatively (and preferably), could the version in nixpkgs be updated?
this commit on nix broke compilation since dwarffs uses stringToInt to parse some arguments.
At least in my flake, using d11b181 or later results in this:
builder for '/nix/store/ycdc9w8z0c7zyr0w0rl50g99bcv0gyvf-dwarffs-0.1.20200422.drv' failed with exit code 2; last 10 log lines:
configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/z1l2n01xdfcm9bkkir83c32mkpvv51zq-bash-4.4-p23/bin/bash
g++ -c -g -std=c++17 -Wall -Os dwarffs.cc -o dwarffs.o
dwarffs.cc:7:10: fatal error: filetransfer.hh: No such file or directory
7 | #include "filetransfer.hh"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:5: dwarffs.o] Error 1
cannot build derivation '/nix/store/yydmc8b7xh90f7ys8yh4ka5xq9l8axpn-dwarffs-0.1.20200422_fish-completions.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/j87w2q57qjz3qn7bhqj25kx0637706v7-stage-2-init.sh.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/82a7s0a7xrfq8syh4hfdl3qcd58k7ls9-system-generators.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/myv33pqyhawrkn1iwkfdb3qbvb1mbynd-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wxwqvh2qs9c2066dmngavnva15w1gw6b-system-shutdown.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/bky0zbvmx4mjd6gs4x3l1d23nscc7xw5-system-units.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/j8ymz5kx22vnvrx6a66mvjd6n6h2jq19-user-units.drv': 1 dependencies couldn't be built
My fault or yours? :p
Without it, it falls under All rights reserved and we cannot use it.
Steps to reproduce:
nix flake update --commit-lock-file
nix build
Observed error:
error: attribute 'overlay' missing
at /nix/store/cf337110ghx14g7nw626yiy5w0w0blbd-source/flake.nix:43:35:
42| inherit system;
43| overlays = [ self.overlay nix.overlay ];
| ^
44| }).dwarffs);
Hi, I added dwarffs as described to my configuration.nix, but I get the following error:
attribute ‘fetchgit’ missing, at
Any ideas what I could miss?
Are there instructions on how to use this project as a package, not as a nixOS module?
Also, when I do nix shell github:edolstra/dwarffs --command dwarffs --help
, I get a core.
I would really like to use DwarfFS so that I can turn off global debug packages for my system -- not having symbols at debug time is pretty much the only reason to enable it!
However, 2f984ab inlined the module.nix
file into the new flake description. I understand the desire to use self-contained tools like dwarffs
for experimenting with Flakes, but I'm not running the Flake branch, and dwarffs is useful without it!
I'd like to propose re-adding the old module.nix
file so DwarfFS can be used by non-flake users without writing their own. I do not know if code reuse is possible, but I don't think it's worth it for such a conceptually simple expression.
Alternatively, packaging dwarffs
upstream inside Nixpkgs would also be great IMO, but I understand if you don't want to do that since it'll directly conflict with the flake experiment...
Ive noticed that a lot of programs expect debuginfo to be in /usr/lib/debug/.build-id/...
, would a declarative symlink for this be possible?
The build fails as:
g++ -c -g -std=c++17 -Wall -Os dwarffs.cc -o dwarffs.o
dwarffs.cc:10:10: fatal error: fs-accessor.hh: No such file or directory
10 | #include "fs-accessor.hh"
| ^~~~~~~~~~~~~~~~
compilation terminated.
Possibly caused by NixOS/nix@1a902f5
How to use this on NixOS-20.09? What do I need to add to my configuration.nix to enable this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.