Skip to content

Commit 3a321a8

Browse files
committed
[DDW-1127] Add cardanoBridgeInputs to the gcRoot
1 parent 908cd60 commit 3a321a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

shell.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ let
8080
cardanoWalletsHaskellNix = daedalusPkgs.walletFlake.defaultNix.outputs.legacyPackages.${system}.roots;
8181
ourHaskellNix = if pkgs.stdenv.isLinux then daedalusPkgs.yaml2json.project.roots else "";
8282
daedalusInstallerInputs = with daedalusPkgs.daedalus-installer; buildInputs ++ nativeBuildInputs;
83+
# cardano-bridge inputs are GC’d, and rebuilt too often on Apple M1 CI:
84+
cardanoBridgeInputs = builtins.map (attr: if daedalusPkgs ? ${attr} && pkgs.lib.isDerivation daedalusPkgs.${attr} then daedalusPkgs.${attr} else null) (builtins.attrNames (builtins.functionArgs (import ./nix/cardano-bridge.nix)));
8385
} "export >$out";
8486

8587
debug.node = pkgs.writeShellScriptBin "debug-node" (with daedalusPkgs.launcherConfigs.launcherConfig; ''

0 commit comments

Comments
 (0)