Skip to content

Commit 1cbb0d1

Browse files
committed
[DDW-1169] Bump cardano-wallet PR tip
1 parent c3e4e0c commit 1cbb0d1

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

default.nix

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,14 @@ let
3333
};
3434
pkgs = import sources.nixpkgs { inherit system config; };
3535
sources = localLib.sources // {
36-
cardano-wallet = pkgs.runCommand "cardano-wallet" {} ''
37-
mkdir -p $out
38-
cd $out
39-
tar -x --strip 1 -f ${localLib.sources.cardano-wallet}
40-
chmod -R +w $out
41-
${if target != "aarch64-darwin" then "" else ''
42-
patch -p1 -i ${./nix/cardano-wallet--enable-aarch64-darwin.patch}
43-
''}
44-
'';
36+
cardano-wallet =
37+
if target != "aarch64-darwin"
38+
then localLib.sources.cardano-wallet
39+
else pkgs.runCommand "cardano-wallet" {} ''
40+
cp -r ${localLib.sources.cardano-wallet} $out
41+
chmod -R +w $out
42+
cd $out
43+
'';
4544
};
4645
haskell-nix = walletFlake.inputs.haskellNix.legacyPackages.${system}.haskell-nix;
4746
flake-compat = import sources.flake-compat;

nix/sources.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"homepage": null,
3030
"owner": "input-output-hk",
3131
"repo": "cardano-wallet",
32-
"rev": "c8c9cd96e94bd06ec2ce75620e17055161724003",
33-
"sha256": "1nn0iyvl3maysnvw02f9497zyhf57j88r7w1a0jpnlfr00q5bgd4",
34-
"type": "file",
35-
"url": "https://github.com/input-output-hk/cardano-wallet/archive/c8c9cd96e94bd06ec2ce75620e17055161724003.tar.gz",
32+
"rev": "d94d837334de723ff47f0acf5c89fea878ce9f02",
33+
"sha256": "1h0ax3hiyralq0xmx9w7w7x9xxgn1bawf5xvlxi1gyd7n809cwq3",
34+
"type": "tarball",
35+
"url": "https://github.com/input-output-hk/cardano-wallet/archive/d94d837334de723ff47f0acf5c89fea878ce9f02.tar.gz",
3636
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
3737
},
3838
"cardano-world": {

0 commit comments

Comments
 (0)