summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-03-26 20:57:32 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-03-26 20:57:32 -0500
commit970f2b5063ba59aed2583a9741e79658a92d7656 (patch)
tree0ca26d2a3902df2adc26a1ec814af18f7eef165a /pkgs
parent378e05c6ddcc213652e51c9bdaa5d54c66959156 (diff)
downloadnixpkgs-970f2b5063ba59aed2583a9741e79658a92d7656.tar
nixpkgs-970f2b5063ba59aed2583a9741e79658a92d7656.tar.gz
nixpkgs-970f2b5063ba59aed2583a9741e79658a92d7656.tar.bz2
nixpkgs-970f2b5063ba59aed2583a9741e79658a92d7656.tar.lz
nixpkgs-970f2b5063ba59aed2583a9741e79658a92d7656.tar.xz
nixpkgs-970f2b5063ba59aed2583a9741e79658a92d7656.tar.zst
nixpkgs-970f2b5063ba59aed2583a9741e79658a92d7656.zip
Revert "justStaticExecutables: enable -dead_strip on mac to shrink closure"
This reverts commit 24d313e2039b6d89f8a1ba4c5be12b134479fe67.

Fixes #37750
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/lib.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/lib.nix b/pkgs/development/haskell-modules/lib.nix
index fef827cd9a1..1e58eed2fe0 100644
--- a/pkgs/development/haskell-modules/lib.nix
+++ b/pkgs/development/haskell-modules/lib.nix
@@ -230,8 +230,6 @@ rec {
     isLibrary = false;
     doHaddock = false;
     postFixup = "rm -rf $out/lib $out/nix-support $out/share/doc";
-  } // lib.optionalAttrs (pkgs.hostPlatform.isDarwin) {
-    configureFlags = (drv.configureFlags or []) ++ ["--ghc-option=-optl=-dead_strip"];
   });
 
   /* Build a source distribution tarball instead of using the source files
@@ -260,7 +258,7 @@ rec {
      the cabal file are actually used.
 
      The first attrset argument can be used to configure the strictness
-     of this check and a list of ignored package names that would otherwise 
+     of this check and a list of ignored package names that would otherwise
      cause false alarms.
    */
   checkUnusedPackages =