Add example for github pull request (#191)

This commit is contained in:
Brian May 2024-10-20 16:33:32 +11:00 committed by GitHub
parent 6e8d051d89
commit 359c119582
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,6 +13,8 @@ of the current flake. There are various types of inputs, as shown in the example
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";
# Github URL by pull request.
git-pr.url = "github:NixOS/nixpkgs?ref=pull/349351/head";
# 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.