Skip to content

Commit e228cae

Browse files
committed
review: apply carbolymer suggestions for generate-release-changelog-links
- Fold exe into existing nativeBuildInputs list (remove separate ++ []) - Add -O2 -flate-specialise -split-sections -optl-s for smaller/faster binary - Set RTS opts to -A64m -I0 to delay GC for one-shot usage
1 parent 3aafab6 commit e228cae

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

nix/haskell.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ let
6666
shellcheck
6767
scriv
6868
stylish-haskell
69-
] ++ [
7069
config.hsPkgs.generate-release-changelog-links.components.exes.generate-release-changelog-links
7170
];
7271

scripts/generate-release-changelog-links/generate-release-changelog-links.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ executable generate-release-changelog-links
1313
main-is: Main.hs
1414
hs-source-dirs: .
1515
default-language: Haskell2010
16-
ghc-options: -Wall -Wextra -Wcompat -threaded -rtsopts -with-rtsopts=-N
16+
ghc-options: -Wall -Wextra -Wcompat -O2 -flate-specialise -split-sections -optl-s -threaded -rtsopts "-with-rtsopts=-A64m -I0"
1717
default-extensions:
1818
BlockArguments
1919
DataKinds

0 commit comments

Comments
 (0)