Fix tests.evalNixOS
This failed because NixOS' release.nix calls builtins.fetchGit.
This commit is contained in:
parent
6f907b7571
commit
a99027d587
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue