Update inputs.md

This commit is contained in:
Tengku Izdihar 2024-02-15 19:06:26 +07:00 committed by GitHub
parent 17a3f49e30
commit d72021d82e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,9 @@ The `inputs` section in `flake.nix` is an attribute set used to specify the depe
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";
# Archive File URL, needed in case your input use LFS.
# Regular git input doesn't support LFS yet.
git-example.url = "https://codeberg.org/solver-orgz/treedome/archive/master.tar.gz";
# Similar to fetching a Git repository, but using the ssh protocol
# with key authentication. Also uses the shallow=1 parameter
# to avoid copying the .git directory.