Flakes: Difference between revisions
imported>Sedlund m apparently there an order to the comments I missed. |
imported>SuperSamus No edit summary |
||
| Line 88: | Line 88: | ||
# 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"; | ||
# | |||
git-directory-example.url = "git+file:/path/to/repo | # Local directories (for absolute paths you can omit 'path:'), this will also copy .git | ||
directory-example.url = "path:/path/to/repo"; | |||
# To avoid copying .git (for shallow clones, add `?shallow=1` at the end) | |||
git-directory-example.url = "git+file:/path/to/repo"; | |||
# You have a local copy of a git fork and are working on a new branch | # You have a local copy of a git fork and are working on a new branch | ||
forked-git-flake.url = "git+file:/home/user/forked-flake?branch=feat/myNewFeature" | forked-git-flake.url = "git+file:/home/user/forked-flake?branch=feat/myNewFeature" | ||
bar = { | bar = { | ||