nixUnstable: allow passing patches
svn path=/nixpkgs/trunk/; revision=17022
This commit is contained in:
parent
dab5d6463f
commit
4800303718
@ -2,10 +2,12 @@
|
|||||||
, storeDir ? "/nix/store"
|
, storeDir ? "/nix/store"
|
||||||
, stateDir ? "/nix/var"
|
, stateDir ? "/nix/var"
|
||||||
, supportOldDBs ? true
|
, supportOldDBs ? true
|
||||||
|
, nameSuffix ? ""
|
||||||
|
, patches ? []
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nix-0.13pre16857";
|
name = "nix-0.13pre16857${nameSuffix}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://hydra.nixos.org/build/64096/download/4/${name}.tar.bz2";
|
url = "http://hydra.nixos.org/build/64096/download/4/${name}.tar.bz2";
|
||||||
@ -30,4 +32,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = http://nixos.org/;
|
homepage = http://nixos.org/;
|
||||||
license = "LGPL";
|
license = "LGPL";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
inherit patches;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user