Skip to content

Commit

Permalink
[LW-11965] Fix crashing of Daedalus 7.0.0 on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrus committed Dec 10, 2024
1 parent f33865f commit 9ed1255
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 12 additions & 0 deletions nix/internal/cardano-wallet--expose-musl64Packages.patch
Original file line number Diff line number Diff line change
@@ -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 {
3 changes: 2 additions & 1 deletion nix/internal/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand All @@ -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};
Expand Down

0 comments on commit 9ed1255

Please sign in to comment.