Closed rsrohitsingh682 closed 1 month ago
In nixci build while print-all-dependencies option sometimes nix-store query returns unknown-deriver and the returned deriver is not guaranteed to exist in the local store. Hence we should use --valid-derivers instead to obtain valid paths only.
unknown-deriver
--valid-derivers
Reference: https://github.com/NixOS/nix/blob/142e566adbce587a5ed97d1648a26352f0608ec5/doc/manual/src/command-ref/nix-store/query.md?plain=1#L99C3-L99C61
@rsrohitsingh682 CI fails
In nixci build while print-all-dependencies option sometimes nix-store query returns
unknown-deriver
and the returned deriver is not guaranteed to exist in the local store. Hence we should use--valid-derivers
instead to obtain valid paths only.Reference: https://github.com/NixOS/nix/blob/142e566adbce587a5ed97d1648a26352f0608ec5/doc/manual/src/command-ref/nix-store/query.md?plain=1#L99C3-L99C61