summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/8.0.2.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-03 16:29:18 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-03 17:04:19 -0500
commit3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed (patch)
tree4cd9880c7ab00e31e9cffca3dfb6641675244c89 /pkgs/development/compilers/ghc/8.0.2.nix
parent0df29e125997bf862335ebdafacbaa609e312adf (diff)
downloadnixpkgs-3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed.tar
nixpkgs-3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed.tar.gz
nixpkgs-3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed.tar.bz2
nixpkgs-3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed.tar.lz
nixpkgs-3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed.tar.xz
nixpkgs-3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed.tar.zst
nixpkgs-3fb5fd0060d51b0a7c52921dc1c66cee6fe622ed.zip
ghc: Normalize derivations in hash-preserving ways
Diffstat (limited to 'pkgs/development/compilers/ghc/8.0.2.nix')
-rw-r--r--pkgs/development/compilers/ghc/8.0.2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.0.2.nix b/pkgs/development/compilers/ghc/8.0.2.nix
index f1f61acd768..762fe547ca9 100644
--- a/pkgs/development/compilers/ghc/8.0.2.nix
+++ b/pkgs/development/compilers/ghc/8.0.2.nix
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
 
   # required, because otherwise all symbols from HSffi.o are stripped, and
   # that in turn causes GHCi to abort
-  stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!stdenv.isDarwin) "--keep-file-symbols";
+  stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
 
   postInstall = ''
     paxmark m $out/lib/${name}/bin/${if targetPlatform != hostPlatform then "ghc" else "{ghc,haddock}"}