Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit 0348287

Browse files
authored
Cache build2cmake and kernel-abi-check (#213)
Add `build2cmake` and `kernel-abi-check` to the `forCache` link farm, so that we upload them to our binary cache as well.
1 parent bc2844e commit 0348287

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

flake.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@
128128
packages = rec {
129129
build2cmake = pkgs.callPackage ./pkgs/build2cmake { };
130130

131+
kernel-abi-check = pkgs.callPackage ./pkgs/kernel-abi-check { };
132+
131133
update-build = pkgs.writeShellScriptBin "update-build" ''
132134
${build2cmake}/bin/build2cmake update-build ''${1:-build.toml}
133135
'';
@@ -168,7 +170,11 @@
168170
);
169171
in
170172
pkgs.linkFarm "packages-for-cache" (
171-
torchOutputs // lib.optionalAttrs nixpkgs.legacyPackages.${system}.stdenv.isLinux oldLinuxStdenvs
173+
{
174+
inherit build2cmake kernel-abi-check;
175+
}
176+
// torchOutputs
177+
// lib.optionalAttrs nixpkgs.legacyPackages.${system}.stdenv.isLinux oldLinuxStdenvs
172178
);
173179
};
174180
}

0 commit comments

Comments
 (0)