mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
add patchFlags to haskell-ng's generic-builder
I use this to get yesod-bin working with ghc 7.10.1
This commit is contained in:
parent
fd85ddcd50
commit
eb7362a36c
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
|||
, testTarget ? ""
|
||||
, broken ? false
|
||||
, preUnpack ? "", postUnpack ? ""
|
||||
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? ""
|
||||
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? "", patchFlags ? ""
|
||||
, preConfigure ? "", postConfigure ? ""
|
||||
, preBuild ? "", postBuild ? ""
|
||||
, preInstall ? "", postInstall ? ""
|
||||
|
@ -285,6 +285,7 @@ stdenv.mkDerivation ({
|
|||
// optionalAttrs (patches != []) { inherit patches; }
|
||||
// optionalAttrs (patchPhase != "") { inherit patchPhase; }
|
||||
// optionalAttrs (postPatch != "") { inherit postPatch; }
|
||||
// optionalAttrs (patchFlags != "") { inherit patchFlags; }
|
||||
// optionalAttrs (preConfigure != "") { inherit preConfigure; }
|
||||
// optionalAttrs (postConfigure != "") { inherit postConfigure; }
|
||||
// optionalAttrs (preBuild != "") { inherit preBuild; }
|
||||
|
|
Loading…
Reference in a new issue