Fix tests.evalNixOS
This failed because NixOS' release.nix calls builtins.fetchGit.
This commit is contained in:
parent
6f907b7571
commit
a99027d587
|
@ -268,7 +268,8 @@ let
|
||||||
export NIX_STATE_DIR=$TMPDIR
|
export NIX_STATE_DIR=$TMPDIR
|
||||||
nix-store --init
|
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
|
touch $out
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue