mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00: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. |
||
---|---|---|
.. | ||
pkgs/by-name | ||
default.nix |