auto-upgrade: store flake input refs #80
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "retain-flake-inputs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o
o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o o( ❛ᴗ❛ )o
@ -16,0 +19,4 @@
= pkgs.writers.writeJSON "flake-inputs.json" (
lib.flip lib.mapAttrs inputs (name: input:
# inputs.*.sourceInfo sans outPath, since writeJSON will otherwise serialize sourceInfo like a derivation
lib.filterAttrs (key: val: !builtins.elem key ["outPath"]) (input.sourceInfo or {})
Maybe this could be simplified?
i was looking for that library function, but my search for "filterAttrs" turned up empty
f6ffcb2d68
to4913b22ab9
I ❤️ the last modified date stuff