use pinned nixpkgs-unstable for the test driver

This commit is contained in:
Erik Arvstedt
2020-01-15 23:14:04 +00:00
committed by Jonas Nick
parent 6fe647ecc4
commit 83863c03e5
2 changed files with 4 additions and 13 deletions
+1 -4
View File
@@ -24,10 +24,7 @@ memoryMiB=${memoryMiB:-2048}
scriptDir=$(cd "${BASH_SOURCE[0]%/*}" && pwd)
getPkgs() {
nix eval --raw -f "$scriptDir/../pkgs/nixpkgs-pinned.nix" $1
}
export NIX_PATH=nixpkgs=$(getPkgs nixpkgs):nixpkgs-unstable=$(getPkgs nixpkgs-unstable)
export NIX_PATH=nixpkgs=$(nix eval --raw -f "$scriptDir/../pkgs/nixpkgs-pinned.nix" nixpkgs)
# Run the test. No temporary files are left on the host system.
run() {