Merge pull request #89 from tengkuizdihar/patch-1

add: a way to input your flake through a tar.gz link
This commit is contained in:
Ryan Yin 2024-02-15 21:13:48 +08:00 committed by GitHub
commit 928f55f2fa
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.