build: haskell-build-system: Build static executables by default.
authorLars-Dominik Braun <lars@6xq.net>
Sun, 29 Jan 2023 17:50:10 +0000 (18:50 +0100)
committerLars-Dominik Braun <lars@6xq.net>
Sun, 26 Feb 2023 09:26:16 +0000 (10:26 +0100)
commitdc3e22f4d5d7aa94fef9e380a3d2c0d71143ced9
tree64b26ec3deffac60657d85f79d9823caf99c29c3
parent8a4ee0c113d33be376afd701d6cd1b94821f2cd2
build: haskell-build-system: Build static executables by default.

This is the only way to get reasonably small binaries that don’t pull
in a ton of ghc-* packages.

* guix/build/haskell-build-system.scm (configure): Explicitly
add --enable-static and --disable-executable-dynamic, as well as
-split-sections to configure flags.
guix/build/haskell-build-system.scm