on iko/ghcjs-patch-master help sign in
Enable static build of secp256k1 on musl (#1413)
commit53ffd8eac65e3f029865b00f7eca49373388b691 authorJean-Baptiste Giraudeau <jean-baptiste.giraudeau@iohk.io> dateTue 22 Mar 2022, 15:56 (5 years ago) parenta4da3fa
1 file changed+2
overlays/musl.nix+2
overlays/musl.nix+2
@@ -15,6 +15,8 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isMusl ({
1515 libsodium = prev.libsodium.overrideAttrs (_: { dontDisableStatic = true; });
1616 zstd = prev.zstd.override { static = true; };
1717 pcre = prev.pcre.overrideAttrs (_: { dontDisableStatic = true; });
18+ secp256k1 = prev.secp256k1.overrideAttrs ( oldAttrs: {
19+ configureFlags = oldAttrs.configureFlags ++ ["--enable-static"]; });
1820
1921 numactl = prev.numactl.overrideAttrs (_: { configureFlags = ["--enable-static"];});
2022