diff --git a/nix/internal/cardano-wallet--expose-musl64Packages.patch b/nix/internal/cardano-wallet--expose-musl64Packages.patch new file mode 100644 index 0000000000..67485ebe3a --- /dev/null +++ b/nix/internal/cardano-wallet--expose-musl64Packages.patch @@ -0,0 +1,12 @@ +diff --git a/flake.nix b/flake.nix +index 2d680c2198..9888884449 100644 +--- a/flake.nix ++++ b/flake.nix +@@ -427,6 +427,7 @@ + project = walletProject; + }; + windowsPackages = mkPackages walletProject.projectCross.mingwW64; ++ musl64Packages = mkPackages walletProject.projectCross.musl64; + }) // { + # Continuous integration builds + ci.tests.all = pkgs.releaseTools.aggregate { diff --git a/nix/internal/common.nix b/nix/internal/common.nix index 1a4408ca6b..f1af7a93eb 100644 --- a/nix/internal/common.nix +++ b/nix/internal/common.nix @@ -34,6 +34,7 @@ rec { chmod -R +w $out cd $out patch -p1 -i ${./cardano-wallet--expose-windowsPackages.patch} + patch -p1 -i ${./cardano-wallet--expose-musl64Packages.patch} ''); inherit (unpatched) rev shortRev lastModified lastModifiedDate; }; @@ -55,7 +56,7 @@ rec { walletPackages = { x86_64-windows = walletFlake.packages.x86_64-linux.windowsPackages; - x86_64-linux = walletFlake.packages.x86_64-linux; + x86_64-linux = walletFlake.packages.x86_64-linux.musl64Packages; x86_64-darwin = walletFlake.packages.x86_64-darwin; aarch64-darwin = walletFlake.packages.aarch64-darwin; }.${targetSystem};