Fix tests.evalNixOS

This failed because NixOS' release.nix calls builtins.fetchGit.
This commit is contained in:
Eelco Dolstra 2018-04-19 15:28:40 +02:00
parent 6f907b7571
commit a99027d587
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -268,7 +268,8 @@ let
export NIX_STATE_DIR=$TMPDIR
nix-store --init
nix-instantiate ${nixpkgs}/nixos/release-combined.nix -A tested --dry-run
nix-instantiate ${nixpkgs}/nixos/release-combined.nix -A tested --dry-run \
--arg nixpkgs '{ outPath = ${nixpkgs}; revCount = 123; shortRev = "abcdefgh"; }'
touch $out
'';