Skip to content

Commit 0839218

Browse files
authored
Merge pull request #1373 from numtide/qwen-code-2
make flake inputs part of the binary cache
2 parents 053759f + ad9bccd commit 0839218

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

packages/flake-inputs/default.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
inputs,
3+
pkgs,
4+
...
5+
}:
6+
# A derivation that references all flake inputs to ensure they get cached
7+
pkgs.runCommand "flake-inputs" { } ''
8+
echo ${pkgs.lib.concatMapStringsSep " " (name: inputs.${name}) (builtins.attrNames inputs)} > $out
9+
''
10+
// {
11+
passthru.hideFromDocs = true;
12+
}

0 commit comments

Comments
 (0)