diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2018-03-26 14:57:56 +0800 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2018-05-23 10:27:42 -0400 |
commit | 63e5b3ce716c9d10f024cc4aafca82146d76258e (patch) | |
tree | 87b09ebb69e0f817404637052476e6f2ee196376 /pkgs/development/haskell-modules | |
parent | 87afa66a63eff046b5da7605909bae956b26e585 (diff) | |
download | nixlib-63e5b3ce716c9d10f024cc4aafca82146d76258e.tar nixlib-63e5b3ce716c9d10f024cc4aafca82146d76258e.tar.gz nixlib-63e5b3ce716c9d10f024cc4aafca82146d76258e.tar.bz2 nixlib-63e5b3ce716c9d10f024cc4aafca82146d76258e.tar.lz nixlib-63e5b3ce716c9d10f024cc4aafca82146d76258e.tar.xz nixlib-63e5b3ce716c9d10f024cc4aafca82146d76258e.tar.zst nixlib-63e5b3ce716c9d10f024cc4aafca82146d76258e.zip |
used stdenv.targetPlatform.isDarwin and not stdenv.isDarwin.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-nix.nix | 2 |
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 469b249010fa..2f1eb1ad97a8 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.isDarwin && !pkgs.stdenv.cc.nativeLibc + x509-system = if pkgs.stdenv.targetPlatform.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 "") + '' |