mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 06:08:16 +03:00
aa7dd0b596
nix-build failed because the tests assume to run in a CWD equal to the project root, which is not the case in the derivation build. This commit fixes it by not using hacky `..` references to paths, and instead uses NIX_PATH for all implicit Nix testing path dependencies. Also the root of the `lib` path gets passed in from the `default.nix` file, so all the relative path handling is done by Nix during evaluation already, and in the Nix store when possible. |
||
---|---|---|
.. | ||
eval.nix | ||
eval.rs | ||
main.rs | ||
nixpkgs_problem.rs | ||
ratchet.rs | ||
references.rs | ||
structure.rs | ||
utils.rs | ||
validation.rs |