I can build my configuration.nix and deploy it in abfd31179174133ab8131139d650297bf4da63b7 13 days ago but for the last week or so i get an absurd error if I do any subsequent builds off of the configuration when I switch to it.
- nix channel --update
- morph deploy # works
- morph deploy # fails
- nix channel --rollback to known-working nixpkgs+nixos
- morph deploy # still fails!
- switch-to-configuration to the previous build
- morph build # works
error: 1 dependencies of derivation '/nix/store/05fn8wprjnf3kwszjsnx8nfj7wgc4pzr-generated-docbook.drv' failed to build
error: 1 dependencies of derivation '/nix/store/96j4h13sap7j1jf5h16p12plwhixbabv-nixos-manual-combined.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h38lqvqq71fh7qipg466lv0k7c7nw8im-nixos-manpages.drv' failed to build
error: 1 dependencies of derivation '/nix/store/w54xvpy47w68v84624l805w9zdnm7dfv-nixos-manual-html.drv' failed to build
error: 1 dependencies of derivation '/nix/store/nr42kfzl867180gyy9la55q1nc8w23nd-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/qmn52h53cr6j2x8zv9nkl2f35pwkh36q-nixos-system-virtuous-cassette-22.05pre378108.556ce9a40ab.drv' failed to build
The system is failing to generate the manual for every option in nixpkgs afaict containing a relative path pointing to the version of nixpkgs:
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/rename.nix" />
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/services/x11/desktop-managers/cinnamon.nix" />
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/system/etc/etc.nix" />
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/system/etc/etc.nix" />
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/system/etc/etc.nix" />
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/system/etc/etc.nix" />
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/system/etc/etc.nix" />
[...redacting much of this]
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/virtualisation/qemu-vm.nix" />
<string value="3y2ymjdad71ilw7rpl71xwsj0pv9js36-nixpkgs/nixpkgs/nixos/modules/virtualisation/qemu-vm.nix" />
The manual appears to depend on the location of Nixpkgs, which is bad
since this prevents sharing via the NixOS channel. This is typically
caused by an option default that refers to a relative path (see above
for hints about the offending path).
3y2ymjdad71ilw7rpl71xwsj0pv9js36
is the version of nixpkgs which the system was built for after running the nix-channel --update
, and the version which the system is switched to.
I really am not sure what to make of this or any indication what could be wrong between my nixos, nixpkgs, and upstream… I don’t change any documentation.*
options and I do use man configuration.nix
often enough that I can’t simply disable this and get on with my life i’m not above bisecting the 2000 commits between here and there, but obviously i’d rather not since it’s a pretty invasive and time consuming thing to have to do on my live system.
anyone have an idea/lead/advice?