Support fetching file type flakes #44
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/flake-compat#44
Loading…
Reference in a new issue
No description provided.
Delete branch "matthewbauer/support-fetching-file-type-flakes"
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?
Add supports for new type = "file" locks added in
5b8c1deb18
.Unfortunately, the hash provided by the lock file is a recursive hash,
while fetchurl wants a flat hash. So we have to use a custom fetchurl
function using the builtin:fetchurl builder. Hopefully okay just to
add compat for this very useful lock type.
cc @edolstra
Is this ready to merge? Would love to be able to use this
Should be! cc @edolstra
Hi, do you mind squashing all your commits? Then I will cherry-pick the patch into https://github.com/nix-community/flake-compat
Doesn't this cause use of these inputs to be import-from-derivation? That doesn't seem desirable behaviour.
Pull request closed