diff options
author | Peter Simons <simons@cryp.to> | 2018-05-22 20:37:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-22 20:37:45 +0200 |
commit | 0e35858252220922622491557e974e90281fa35f (patch) | |
tree | 42d07b3c76fc90a06cf766258909405effff0b44 /pkgs/development/haskell-modules/lib.nix | |
parent | 65c327325086fc6ffce0c72af3d09b1474b0a41f (diff) | |
parent | 4b480942851d72bc6f292539b1e9a0c100323fae (diff) |
Merge pull request #40929 from obsidiansystems/cross-ghc-for-master
ghc, haskell infra: #40642 direct to master
Diffstat (limited to 'pkgs/development/haskell-modules/lib.nix')
-rw-r--r-- | pkgs/development/haskell-modules/lib.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/lib.nix b/pkgs/development/haskell-modules/lib.nix index 55e45bd6559d..fb1302f60ea5 100644 --- a/pkgs/development/haskell-modules/lib.nix +++ b/pkgs/development/haskell-modules/lib.nix @@ -131,6 +131,8 @@ rec { */ appendConfigureFlag = drv: x: overrideCabal drv (drv: { configureFlags = (drv.configureFlags or []) ++ [x]; }); + appendBuildFlag = drv: x: overrideCabal drv (drv: { buildFlags = (drv.buildFlags or []) ++ [x]; }); + appendBuildFlags = drv: xs: overrideCabal drv (drv: { buildFlags = (drv.buildFlags or []) ++ xs; }); /* removeConfigureFlag drv x is a Haskell package like drv, but with all cabal configure arguments that are equal to x removed. |