This website requires JavaScript.
Explore
Help
Register
Sign In
BoomMicrophone
/
nixpkgs-suyu
Watch
1
Star
0
Fork
You've already forked nixpkgs-suyu
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
257171f024
nixpkgs-suyu
/
pkgs
/
test
/
nixpkgs-check-by-name
/
tests
/
override-empty-arg
/
base
/
default.nix
2 lines
38 B
Nix
Raw
Normal View
History
Unescape
Escape
tests.nixpkgs-check-by-name: Improve lib path handling in tests 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.
2024-01-15 18:34:16 +01:00
import
<test-nixpkgs>
{
root
=
./.
;
}
Reference in a new issue
Copy permalink