From e4d493fc5449d85c66d45bbfb0531eea3241baa1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 3 Aug 2015 15:07:07 +0200 Subject: [PATCH] jailbreak-cabal: link statically to avoid runtime dependency on ghc --- pkgs/development/haskell-modules/configuration-common.nix | 3 +++ 1 file changed, 3 insertions(+) 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;