mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
Fix tests.evalNixOS
This failed because NixOS' release.nix calls builtins.fetchGit.
(cherry picked from commit a99027d587)
This commit is contained in:
parent
f7454db452
commit
5a01ff6b47
1 changed files with 2 additions and 1 deletions
|
|
@ -264,7 +264,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…
Add table
Add a link
Reference in a new issue