make-tarball.nix: Allow passing in a different Nix

Used by the Nix tests (https://github.com/NixOS/nix/commit/9fff4925613d44ac12775ad8840709130b9498d1).
This commit is contained in:
Eelco Dolstra
2016-01-19 21:28:53 +01:00
parent 319acb0af5
commit ac0c49970b
+5 -1
View File
@@ -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;