File tree Expand file tree Collapse file tree 2 files changed +12
-13
lines changed Expand file tree Collapse file tree 2 files changed +12
-13
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 = 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 ;
Original file line number Diff line number Diff line change 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" : {
You can’t perform that action at this time.
0 commit comments