Flakes: Difference between revisions
imported>Hypnosis2839 m →Basic project usage: clarify git warning |
imported>Kreativmonkey change nixpkgs url to current nixos release |
||
| Line 84: | Line 84: | ||
{ | { | ||
inputs = { | inputs = { | ||
# use | # use release 23.05 branch of the GitHub repository as input, this is the most common input format | ||
nixpkgs.url = "github: | nixpkgs.url = "github:NixOS/nixpkgs/release-23.05"; | ||
# Git URL, can be used for any Git repository based on https/ssh protocol | # Git URL, can be used for any Git repository based on https/ssh protocol | ||
git-example.url = "git+https://git.somehost.tld/user/path?ref=branch&rev=fdc8ef970de2b4634e1b3dca296e1ed918459a9e"; | git-example.url = "git+https://git.somehost.tld/user/path?ref=branch&rev=fdc8ef970de2b4634e1b3dca296e1ed918459a9e"; | ||