From 51f2030430b7318c4577c1e5d63387bc09553515 Mon Sep 17 00:00:00 2001 From: Malte Brandy Date: Sat, 5 Jun 2021 16:52:14 +0200 Subject: [PATCH] haskellPackages.cabal2nix-unstable: Use justStaticExecutables --- pkgs/development/haskell-modules/configuration-nix.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index a9f6263ab5dd..1270d2a98183 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -819,4 +819,8 @@ self: super: builtins.intersectAttrs super { # itself causing an infinite recursion at evaluation # time random = dontCheck super.random; + + # Since this package is primarily used by nixpkgs maintainers and is probably + # not used to link against by anyone, we can make it’s closure smaller. + cabal2nix-unstable = justStaticExecutables super.cabal2nix-unstable; }