fixups
This commit is contained in:
@@ -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
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user