This commit is contained in:
2025-01-09 01:33:30 +01:00
parent 8d876374e1
commit a7729df705
2 changed files with 4 additions and 6 deletions

View File

@@ -15,7 +15,8 @@
lib.flip lib.mapAttrs inputs (name: input:
# inputs.*.sourceInfo sans outPath, since writeJSON will otherwise serialize sourceInfo like derivation
lib.filterAttrs (key: val: !builtins.elem key ["outPath"]) (input.sourceInfo or {})
// { store-path = input.outPath; } # comment this line if you don't want to retain a store reference to the flake inputs
// { store-path = builtins.unsafeDiscardStringContext input.outPath; }
##// { store-path = input.outPath; } # use this line instead if you want to retain a store reference to the flake inputs
)
);