auto-upgrade: store flake input refs #80
No reviewers
Labels
No Label
art
backup
big
blocked
bug
crash report
disputed
documentation
duplicate
enhancement
good first issue
logging
nixos
question
salt
security
servers n' hardware
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Drift/pvv-nixos-config#80
Loading…
Reference in New Issue
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