diff options
author | Peter Simons <simons@cryp.to> | 2015-08-14 21:22:40 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-08-14 21:23:42 +0200 |
commit | 167e54b25786efde22219583ea8468d63af62c16 (patch) | |
tree | 95630c959b234882ff5a1c06efb4772083e8b89d /pkgs/development/haskell-modules/generic-builder.nix | |
parent | c4358e0278b8a8cde6014a6656aab20cccc231b9 (diff) | |
download | nixlib-167e54b25786efde22219583ea8468d63af62c16.tar nixlib-167e54b25786efde22219583ea8468d63af62c16.tar.gz nixlib-167e54b25786efde22219583ea8468d63af62c16.tar.bz2 nixlib-167e54b25786efde22219583ea8468d63af62c16.tar.lz nixlib-167e54b25786efde22219583ea8468d63af62c16.tar.xz nixlib-167e54b25786efde22219583ea8468d63af62c16.tar.zst nixlib-167e54b25786efde22219583ea8468d63af62c16.zip |
haskell-generic-builder: allow users to specify their own install phase
Diffstat (limited to 'pkgs/development/haskell-modules/generic-builder.nix')
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 83978e3bf215..4f142cd932db 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -38,7 +38,7 @@ , patches ? [], patchPhase ? "", prePatch ? "", postPatch ? "" , preConfigure ? "", postConfigure ? "" , preBuild ? "", postBuild ? "" -, preInstall ? "", postInstall ? "" +, installPhase ? "", preInstall ? "", postInstall ? "" , checkPhase ? "", preCheck ? "", postCheck ? "" , preFixup ? "", postFixup ? "" , coreSetup ? false # Use only core packages to build Setup.hs. @@ -305,6 +305,7 @@ stdenv.mkDerivation ({ // optionalAttrs (preCheck != "") { inherit preCheck; } // optionalAttrs (postCheck != "") { inherit postCheck; } // optionalAttrs (preInstall != "") { inherit preInstall; } +// optionalAttrs (installPhase != "") { inherit installPhase; } // optionalAttrs (postInstall != "") { inherit postInstall; } // optionalAttrs (preFixup != "") { inherit preFixup; } // optionalAttrs (postFixup != "") { inherit postFixup; } |