Skip to content

Commit

Permalink
Add example for github pull request (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmay authored Oct 20, 2024
1 parent 6e8d051 commit 359c119
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/other-usage-of-flakes/inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 359c119

Please sign in to comment.