Flakes: Difference between revisions
imported>SuperSamus Add local git repo example |
imported>SuperSamus No edit summary |
||
| Line 95: | Line 95: | ||
directory-example.url = "path:/path/to/repo"; | directory-example.url = "path:/path/to/repo"; | ||
# The above url will also copy .git, use this for (shallow) local Git repos | # The above url will also copy .git, use this for (shallow) local Git repos | ||
git-directory-example.url = "git+ | git-directory-example.url = "git+file:/path/to/repo?shallow=1" | ||
# Use this for non-flakes | # Use this for non-flakes | ||
bar.url = "github:foo/bar/branch"; | bar.url = "github:foo/bar/branch"; | ||