use pinned nixpkgs-unstable for the test driver

This commit is contained in:
Erik Arvstedt 2020-01-13 10:39:19 +01:00 committed by Jonas Nick
parent 6fe647ecc4
commit 83863c03e5
No known key found for this signature in database
GPG key ID: 4861DBF262123605
2 changed files with 4 additions and 13 deletions

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() {