summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authormaralorn <mail@maralorn.de>2023-06-10 14:18:49 +0200
committermaralorn <mail@maralorn.de>2023-06-11 19:40:28 +0200
commitfc3668a3ab9fe6d2f67a041f1d7f7bd955636b06 (patch)
tree056b662a48cab35cdce26d2f4806dea5be5cd17d /pkgs/development/haskell-modules
parent35885ddb2374c090aa6d98ea97e469e269e27d60 (diff)
downloadnixpkgs-fc3668a3ab9fe6d2f67a041f1d7f7bd955636b06.tar
nixpkgs-fc3668a3ab9fe6d2f67a041f1d7f7bd955636b06.tar.gz
nixpkgs-fc3668a3ab9fe6d2f67a041f1d7f7bd955636b06.tar.bz2
nixpkgs-fc3668a3ab9fe6d2f67a041f1d7f7bd955636b06.tar.lz
nixpkgs-fc3668a3ab9fe6d2f67a041f1d7f7bd955636b06.tar.xz
nixpkgs-fc3668a3ab9fe6d2f67a041f1d7f7bd955636b06.tar.zst
nixpkgs-fc3668a3ab9fe6d2f67a041f1d7f7bd955636b06.zip
haskellPackages: Use separate bin output for multiple packages
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-nix.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index 9624b28e115..de924376c8d 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -281,6 +281,13 @@ self: super: builtins.intersectAttrs super {
   sfml-audio = appendConfigureFlag "--extra-include-dirs=${pkgs.openal}/include/AL" super.sfml-audio;
 
   # avoid compiling twice by providing executable as a separate output (with small closure size)
+  cabal-fmt = enableSeparateBinOutput super.cabal-fmt;
+  hindent = enableSeparateBinOutput super.hindent;
+  releaser  = enableSeparateBinOutput super.releaser;
+  eventlog2html = enableSeparateBinOutput super.eventlog2html;
+  ghc-debug-brick  = enableSeparateBinOutput super.ghc-debug-brick;
+  nixfmt  = enableSeparateBinOutput super.nixfmt;
+  calligraphy = enableSeparateBinOutput super.calligraphy;
   niv = enableSeparateBinOutput (self.generateOptparseApplicativeCompletions [ "niv" ] super.niv);
   ghcid = enableSeparateBinOutput super.ghcid;
   ormolu = self.generateOptparseApplicativeCompletions [ "ormolu" ] (enableSeparateBinOutput super.ormolu);