-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
doc: fix simple flake example #3083
base: main
Are you sure you want to change the base?
Conversation
958999e
to
574855e
Compare
Something similar could also be used for the template |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. Thanks!
FYI: your branch is ~27 commits behind the latest main
. You may want to fetch our repo (probably your upstream
remote), rebase onto it and force-push.
Also, could you change your commit message to something like readme: fix & simplify simple flake example
? We usually use the rough file/directory to scope our commit messages.
nvim = nixvim'.makeNixvim config; | ||
in { | ||
packages = { | ||
forAllSystems = fn: nixpkgs.lib.genAttrs systems fn; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
forAllSystems = fn: nixpkgs.lib.genAttrs systems fn; | |
forAllSystems = nixpkgs.lib.genAttrs systems; |
|
||
inputs.nixvim.url = "github:nix-community/nixvim"; | ||
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be better for us to suggest users use nixpkgs.follows = "nixvim/nixpkgs"
, at least for a flake that is just outputting nixvim packages and not also nixos configurations (etc):
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; | |
nixpkgs.follows = "nixvim/nixpkgs"; |
Replace the incorrect simple flake example from the README with a simpler one