mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
lib/tests/release: Test lib.version in isolation
This commit is contained in:
parent
f45844cb55
commit
bb036f2486
|
@ -53,6 +53,12 @@ pkgs.runCommand "nixpkgs-lib-tests-nix-${nix.version}" {
|
|||
echo "Running lib/tests/modules.sh"
|
||||
bash lib/tests/modules.sh
|
||||
|
||||
echo "Checking lib.version"
|
||||
nix-instantiate lib -A version --eval || {
|
||||
echo "lib.version does not evaluate when lib is isolated from the rest of the nixpkgs tree"
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo "Running lib/tests/filesystem.sh"
|
||||
TEST_LIB=$PWD/lib bash lib/tests/filesystem.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue