diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-19 21:25:08 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-01-19 21:28:53 +0100 |
commit | ac0c49970b7356d9fc4ccaeeed69a44705bf23b0 (patch) | |
tree | f45657de09b58495d2e5bd2a11f7be6ccad4b5ff /pkgs/top-level/make-tarball.nix | |
parent | 319acb0af5b453e08ddae3464c11261b9e0354e1 (diff) |
make-tarball.nix: Allow passing in a different Nix
Used by the Nix tests (https://github.com/NixOS/nix/commit/9fff4925613d44ac12775ad8840709130b9498d1).
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-rw-r--r-- | pkgs/top-level/make-tarball.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index c14f94d95fd7e..ebf19af943f58 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -2,7 +2,11 @@ also builds the documentation and tests whether the Nix expressions evaluate correctly. */ -{ pkgs, nixpkgs, officialRelease }: +{ nixpkgs +, officialRelease +, pkgs ? import nixpkgs.outPath {} +, nix ? pkgs.nix +}: with pkgs; |