readme example: get owner,repo from flake.lock #38
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#38
Loading…
Reference in a new issue
No description provided.
Delete branch "Artturin/betterreadme"
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?
example formatted with nixfmt
I think it's best to keep
default.nix
/shell.nix
as simple as possible, since it's not updated automatically. For reference, Nix'sdefault.nix
is:Using
inherit
to shorten the code results in something like this (it still hardcodesgithub.com
, but at least you can fork theflake-compat
project and use that fork without any need to adjustdefault.nix
):(
.defaultNix
on a separate line is how Alejandra formats this code).added to https://github.com/nix-community/flake-compat
Pull request closed