Flakes: Difference between revisions
imported>Fricklerhandwerk reorder links to additional resources, add author and date |
imported>Minion3665 Add rev and ref to git urls, as it's a useful thing that the schema doesn't mention |
||
Line 83: | Line 83: | ||
nixpkgs.url = "github:Mic92/nixpkgs/master"; | nixpkgs.url = "github:Mic92/nixpkgs/master"; | ||
# git urls | # git urls | ||
git-example.url = "git+https://git.somehost.tld/user/path"; | git-example.url = "git+https://git.somehost.tld/user/path?ref=branch&rev=fdc8ef970de2b4634e1b3dca296e1ed918459a9e"; | ||
# local directories (for absolute paths you can omit 'path:') | # local directories (for absolute paths you can omit 'path:') | ||
directory-example.url = "path:/path/to/repo"; | directory-example.url = "path:/path/to/repo"; |