Skip to content

Commit

Permalink
[DDW-1169] Bump cardano-wallet PR tip
Browse files Browse the repository at this point in the history
  • Loading branch information
michalrus committed Nov 29, 2022
1 parent c3e4e0c commit 1cbb0d1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
17 changes: 8 additions & 9 deletions default.nix
Expand Up @@ -33,15 +33,14 @@ let
};
pkgs = import sources.nixpkgs { inherit system config; };
sources = localLib.sources // {
cardano-wallet = pkgs.runCommand "cardano-wallet" {} ''
mkdir -p $out
cd $out
tar -x --strip 1 -f ${localLib.sources.cardano-wallet}
chmod -R +w $out
${if target != "aarch64-darwin" then "" else ''
patch -p1 -i ${./nix/cardano-wallet--enable-aarch64-darwin.patch}
''}
'';
cardano-wallet =
if target != "aarch64-darwin"
then localLib.sources.cardano-wallet
else pkgs.runCommand "cardano-wallet" {} ''
cp -r ${localLib.sources.cardano-wallet} $out
chmod -R +w $out
cd $out
'';
};
haskell-nix = walletFlake.inputs.haskellNix.legacyPackages.${system}.haskell-nix;
flake-compat = import sources.flake-compat;
Expand Down
8 changes: 4 additions & 4 deletions nix/sources.json
Expand Up @@ -29,10 +29,10 @@
"homepage": null,
"owner": "input-output-hk",
"repo": "cardano-wallet",
"rev": "c8c9cd96e94bd06ec2ce75620e17055161724003",
"sha256": "1nn0iyvl3maysnvw02f9497zyhf57j88r7w1a0jpnlfr00q5bgd4",
"type": "file",
"url": "https://github.com/input-output-hk/cardano-wallet/archive/c8c9cd96e94bd06ec2ce75620e17055161724003.tar.gz",
"rev": "d94d837334de723ff47f0acf5c89fea878ce9f02",
"sha256": "1h0ax3hiyralq0xmx9w7w7x9xxgn1bawf5xvlxi1gyd7n809cwq3",
"type": "tarball",
"url": "https://github.com/input-output-hk/cardano-wallet/archive/d94d837334de723ff47f0acf5c89fea878ce9f02.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"cardano-world": {
Expand Down

0 comments on commit 1cbb0d1

Please sign in to comment.