From eb7362a36cf2be72ddcc9845249641d021424a93 Mon Sep 17 00:00:00 2001 From: Cray Elliott Date: Sun, 5 Apr 2015 00:48:12 -0700 Subject: add patchFlags to haskell-ng's generic-builder I use this to get yesod-bin working with ghc 7.10.1 --- pkgs/development/haskell-modules/generic-builder.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/development/haskell-modules/generic-builder.nix') diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index baefedf5a74..9819dba5398 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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; } -- cgit 1.4.1