about summary refs log tree commit diff
path: root/release.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-19T23·26+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-19T23·26+0100
commitda4495eb1747a5ab8fe4a8e6ccd1c28fba684a0a (patch)
tree30a8f38e6710e664b253790ccc83c86dee6a8f7a /release.nix
parentb669d3d2e83d3c50238751b57cff3ed0ca39bc8a (diff)
Fix eval
Diffstat (limited to 'release.nix')
-rw-r--r--release.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/release.nix b/release.nix
index 406b089ca85b..e27355c59365 100644
--- a/release.nix
+++ b/release.nix
@@ -1,4 +1,5 @@
 { nix ? { outPath = ./.; revCount = 1234; shortRev = "abcdef"; }
+, nixpkgs ? { outPath = <nixpkgs>; revCount = 1234; shortRev = "abcdef"; }
 , officialRelease ? false
 }:
 
@@ -235,7 +236,6 @@ let
         ''); # */
 
     tests.evalNixpkgs =
-      { nixpkgs ? { outPath = pkgs.lib.cleanSource <nixpkgs>; revCount = 1234; shortRev = "abcdef"; } }:
       import <nixpkgs/pkgs/top-level/make-tarball.nix> {
         inherit nixpkgs;
         inherit pkgs;
@@ -244,7 +244,6 @@ let
       };
 
     tests.evalNixOS =
-      { nixpkgs ? { outPath = pkgs.lib.cleanSource <nixpkgs>; revCount = 1234; shortRev = "abcdef"; } }:
       pkgs.runCommand "eval-nixos" { buildInputs = [ build.x86_64-linux ]; }
         ''
           export NIX_DB_DIR=$TMPDIR