From 5b9b396ef73c052e3b759980d4aef0b4eb64da64 Mon Sep 17 00:00:00 2001 From: kev <31861128+piyoki@users.noreply.github.com> Date: Mon, 12 Aug 2024 21:16:34 -0400 Subject: [PATCH] docs(other-usage-of-flakes/inputs): add tag and submodules input usage (#184) --- docs/other-usage-of-flakes/inputs.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/other-usage-of-flakes/inputs.md b/docs/other-usage-of-flakes/inputs.md index fe474e2..ac5c237 100644 --- a/docs/other-usage-of-flakes/inputs.md +++ b/docs/other-usage-of-flakes/inputs.md @@ -11,6 +11,10 @@ of the current flake. There are various types of inputs, as shown in the example nixpkgs.url = "github:Mic92/nixpkgs/master"; # Git URL, applicable to any Git repository using the https/ssh protocol. git-example.url = "git+https://git.somehost.tld/user/path?ref=branch"; + # Git URL by tag, applicable to any Git repository using the https/ssh protocol. + git-example-tag.url = "git+https://git.somehost.tld/user/path?tag=x.y.x"; + # Git URL with submodules, applicable to any Git repository using the https/ssh protocol. + git-example-submodule.url = "git+https://git.somehost.tld/user/path?submodules=1"; # Archive File URL, needed in case your input use LFS. # Regular git input doesn't support LFS yet. git-example-lfs.url = "https://codeberg.org/solver-orgz/treedome/archive/master.tar.gz";