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

Used by the Nix tests (9fff492561).
This commit is contained in:
Eelco Dolstra 2016-01-19 21:25:08 +01:00
parent 319acb0af5
commit ac0c49970b

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;