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:
Cray Elliott 2015-04-05 00:48:12 -07:00
parent fd85ddcd50
commit eb7362a36c

View file

@ -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; }