Closed colemickens closed 1 year ago
I don't get it. If I build hwdata, I get:
/nix/store/2x9s14w68zg86q7ha06lblz9npyjabjc-hwdata-0.364
but if I try to build pciutils, I get:
cp: cannot stat '/nix/store/7cbw62w3a6lh1rxxb982j99h42wkrpcd-hwdata-0.364/share/hwdata/pci.ids': No such file or directory
why is it using the wrong output path?
╭ slynux ~/code/nixpkgs/hwdata │hwdata* 0s
╰─▶ nix build '.#legacyPackages.x86_64-linux.hwdata'
warning: Git tree '/home/cole/code/nixpkgs/hwdata' is dirty
╭ slynux ~/code/nixpkgs/hwdata │hwdata* 2.66s
╰─▶ readlink -f result
/nix/store/2x9s14w68zg86q7ha06lblz9npyjabjc-hwdata-0.364
╭ slynux ~/code/nixpkgs/hwdata │hwdata* 2.74s ✘1
╰─▶ nix eval --raw '.#legacyPackages.x86_64-linux.hwdata.outPath'
warning: Git tree '/home/cole/code/nixpkgs/hwdata' is dirty
/nix/store/7cbw62w3a6lh1rxxb982j99h42wkrpcd-hwdata-0.364
um what?
I assume this has something to do with hwdata's use of outputHash...
is this a nix bug?? https://github.com/NixOS/nix/issues/7148
... I don't think hwdata can be a FOD anymore...
Looks like this was already fixed in staging, where the FOD was indeed dropped with a version bump.
I'm confused.
wlroots wants hwdata, can't find it via pkg-config.
so I bump hwdata, and now pciutils can't find
pci.ids
from the hwdata package.needs more investigation.