File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 3333 } ;
3434 pkgs = import sources . nixpkgs { inherit system config ; } ;
3535 sources = localLib . sources // {
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
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 ''
4342 patch -p1 -i ${ ./nix/cardano-wallet--enable-aarch64-darwin.patch }
44- '' ;
43+ '' }
44+ '' ;
4545 } ;
4646 haskell-nix = walletFlake . inputs . haskellNix . legacyPackages . ${ system } . haskell-nix ;
4747 flake-compat = import sources . flake-compat ;
Original file line number Diff line number Diff line change 2929 "homepage" : null ,
3030 "owner" : " input-output-hk" ,
3131 "repo" : " cardano-wallet" ,
32- "rev" : " 2bec3c5262b9a6a1ce8c5ee51e0d8d9386625cb0 " ,
33- "sha256" : " 03mvcg9irg88161z0ckws4s7nbd89g6ybzw1745kly0s0y19yyh6 " ,
34- "type" : " tarball " ,
35- "url" : " https://github.com/input-output-hk/cardano-wallet/archive/2bec3c5262b9a6a1ce8c5ee51e0d8d9386625cb0 .tar.gz" ,
32+ "rev" : " c8c9cd96e94bd06ec2ce75620e17055161724003 " ,
33+ "sha256" : " 1nn0iyvl3maysnvw02f9497zyhf57j88r7w1a0jpnlfr00q5bgd4 " ,
34+ "type" : " file " ,
35+ "url" : " https://github.com/input-output-hk/cardano-wallet/archive/c8c9cd96e94bd06ec2ce75620e17055161724003 .tar.gz" ,
3636 "url_template" : " https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
3737 },
3838 "cardano-world" : {
You can’t perform that action at this time.
0 commit comments