summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-08-03 15:07:07 +0200
committerPeter Simons <simons@cryp.to>2015-08-05 21:36:19 +0200
commite4d493fc5449d85c66d45bbfb0531eea3241baa1 (patch)
tree513316106e471ef5c2fbc106f333c9b081fd0fb6 /pkgs/development
parentb03ce5d57a66d9f454bb736d3c81e97ca546590d (diff)
downloadnixlib-e4d493fc5449d85c66d45bbfb0531eea3241baa1.tar
nixlib-e4d493fc5449d85c66d45bbfb0531eea3241baa1.tar.gz
nixlib-e4d493fc5449d85c66d45bbfb0531eea3241baa1.tar.bz2
nixlib-e4d493fc5449d85c66d45bbfb0531eea3241baa1.tar.lz
nixlib-e4d493fc5449d85c66d45bbfb0531eea3241baa1.tar.xz
nixlib-e4d493fc5449d85c66d45bbfb0531eea3241baa1.tar.zst
nixlib-e4d493fc5449d85c66d45bbfb0531eea3241baa1.zip
jailbreak-cabal: link statically to avoid runtime dependency on ghc
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 5260d508ab12..40141c60e3b8 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -11,6 +11,9 @@ self: super: {
   cabal-install = (dontCheck super.cabal-install).overrideScope (self: super: { Cabal = self.Cabal_1_22_4_0; zlib = self.zlib_0_5_4_2; });
   cabal-install_1_18_1_0 = (dontCheck super.cabal-install_1_18_1_0).overrideScope (self: super: { Cabal = self.Cabal_1_18_1_6; zlib = self.zlib_0_5_4_2; });
 
+  # Link statically to avoid runtime dependency on GHC.
+  jailbreak-cabal = disableSharedExecutables super.jailbreak-cabal;
+
   # Break infinite recursions.
   Dust-crypto = dontCheck super.Dust-crypto;
   hasql-postgres = dontCheck super.hasql-postgres;