summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-nix.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-05-23 09:36:16 +0200
committerGitHub <noreply@github.com>2018-05-23 09:36:16 +0200
commit5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb (patch)
tree0ac0f9db025f0e560c7d335f542b394402a9e70a /pkgs/development/haskell-modules/configuration-nix.nix
parent9530d717253575b471d8136eee42f721b0c21bdb (diff)
downloadnixlib-5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb.tar
nixlib-5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb.tar.gz
nixlib-5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb.tar.bz2
nixlib-5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb.tar.lz
nixlib-5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb.tar.xz
nixlib-5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb.tar.zst
nixlib-5db3a9df5e82a0af45bc20bb2eda15dc7fa290bb.zip
Revert "ghc, haskell infra: #40642 direct to master"
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-nix.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-nix.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index 2f1eb1ad97a8..469b249010fa 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -128,7 +128,7 @@ self: super: builtins.intersectAttrs super {
 
   # Prevents needing to add security_tool as a build tool to all of x509-system's
   # dependencies.
-  x509-system = if pkgs.stdenv.targetPlatform.isDarwin && !pkgs.stdenv.cc.nativeLibc
+  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: {
         postPatch = (drv.postPatch or "") + ''