diff options
author | Jude Taylor <me@jude.bio> | 2015-07-05 01:41:56 -0700 |
---|---|---|
committer | Jude Taylor <me@jude.bio> | 2015-07-10 10:41:08 -0700 |
commit | 066412c7b0bd175ae2d22e97745e01f38454ce53 (patch) | |
tree | c8664c9612179774f70c31dc863fc2ef30ff73f4 /pkgs/development/haskell-modules | |
parent | 630bff3b7d51637d18fbf820dd21e5985f8c7e8f (diff) | |
download | nixlib-066412c7b0bd175ae2d22e97745e01f38454ce53.tar nixlib-066412c7b0bd175ae2d22e97745e01f38454ce53.tar.gz nixlib-066412c7b0bd175ae2d22e97745e01f38454ce53.tar.bz2 nixlib-066412c7b0bd175ae2d22e97745e01f38454ce53.tar.lz nixlib-066412c7b0bd175ae2d22e97745e01f38454ce53.tar.xz nixlib-066412c7b0bd175ae2d22e97745e01f38454ce53.tar.zst nixlib-066412c7b0bd175ae2d22e97745e01f38454ce53.zip |
clean up propagated stuff for x509-system
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ad9f0b2c54af..3586fd0a2324 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -208,13 +208,15 @@ self: super: { # Prevents needing to add security_tool as a build tool to all of x509-system's # dependencies. - # TODO: use pkgs.darwin.security_tool once we can build it x509-system = if pkgs.stdenv.isDarwin && !pkgs.stdenv.cc.nativeLibc then let inherit (pkgs.darwin) security_tool; in pkgs.lib.overrideDerivation (addBuildDepend super.x509-system security_tool) (drv: { patchPhase = (drv.patchPhase or "") + '' substituteInPlace System/X509/MacOS.hs --replace security ${security_tool}/bin/security ''; + __propagatedImpureHostDeps = drv.__propagatedImpureHostDeps ++ [ + "/System/Library/Keychains" + ]; }) else super.x509-system; |