npins: set more attributes on injected inputs #1
Labels
No labels
backend/native
backend/npins
bug
compat
feature
gnfc
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
goldstein/unflake#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
we currently only set
outPathandrevfor tarball inputs (including GitHub inputs) in npins backendNix is documented to set
rev,revCount,lastModifiedDate,lastModifiedandnarHashand actually also setsinputs,outputsandsourceInfo.it’s unclear how widespread this is (please leave a comment if you’ve seen any of these used!)
we can set everything properly when npins uses
builtins.fetchGit, butfetchTarballunfortunately just doesn’t provide enough information. barring doing something weird like monkey-patchingbuiltinsbefore importingnpins/default.nix(is it even possible?), it’s unclear how to progress herewe could also use git fetcher for GitHub, but that loses performance
set more attributes on injected inputs for npins backendto npins: set more attributes on injected inputs