Skip to content

Commit e4e2414

Browse files
authored
Add ICU to static (input-output-hk#1945)
* Add ICU to static This adds the icu package to the musl static set. Needed for example for cardano-db-sync.
1 parent 2b1f3bc commit e4e2414

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

overlays/musl.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isMusl ({
2525
# See https://github.com/input-output-hk/haskell.nix/issues/948
2626
postgresql = (prev.postgresql.overrideAttrs (old: { dontDisableStatic = true; }))
2727
.override { enableSystemd = false; gssSupport = false; };
28+
2829
openssl = prev.openssl.override { static = true; };
2930

31+
icu = (prev.icu.overrideAttrs (old: { configureFlags = old.configureFlags ++ [ "--enable-static" "--disable-shared" ]; }));
32+
3033
# Fails on cross compile
3134
nix = prev.nix.overrideAttrs (_: { doInstallCheck = false; });
3235
} // prev.lib.optionalAttrs (prev.lib.versionAtLeast prev.lib.trivial.release "20.03") {

0 commit comments

Comments
 (0)