Skip to content

Commit 69d6086

Browse files
committed
[DDW-1189] Enable the aarch64-darwin build of cardano-node
1 parent 8795963 commit 69d6086

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ let
3939
cd $out
4040
patch -p1 -i ${./nix/cardano-wallet--enable-aarch64-darwin.patch}
4141
patch -p1 -i ${./nix/cardano-wallet--expose-windowsPackages.patch}
42+
patch -p1 -i ${./nix/cardano-wallet--enable-aarch64-darwin--cardano-node.patch}
4243
'';
4344
};
4445
haskell-nix = walletFlake.inputs.haskellNix.legacyPackages.${system}.haskell-nix;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
diff --git a/flake.nix b/flake.nix
2+
index af206a740e..e8e4792daa 100644
3+
--- a/flake.nix
4+
+++ b/flake.nix
5+
@@ -217,7 +217,13 @@
6+
collectChecks
7+
check;
8+
9+
- nodePkgs = cardano-node-1_35_4.packages.${system};
10+
+ nodePkgs = (import ./nix/flake-compat.nix {
11+
+ src = pkgs.runCommandLocal "patched-cardano-node" {} ''
12+
+ cp -r ${cardano-node-1_35_4.outPath} $out
13+
+ chmod -R +w $out
14+
+ cat ${./nix/supported-systems.nix} >$out/nix/supported-systems.nix
15+
+ '';
16+
+ }).packages.${system};
17+
18+
project = (import ./nix/haskell.nix
19+
CHaP

0 commit comments

Comments
 (0)