Skip to content

Commit

Permalink
add a sparseCheckout example
Browse files Browse the repository at this point in the history
  • Loading branch information
wrvsrx committed Jun 1, 2024
1 parent 90e190d commit d243c25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nvfetcher_example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,9 @@ fetch.url = "https://files.yande.re/image/3fc51f6a2fb10c96b73dd0fce6ddb9c8/yande
src.manual = "latest"
# Override the name of the file in the Nix store
url.name = "wallpaper.jpg"

# To demonstrate how to use `sparseCheckout` option
[noto-fonts-cjk-sans-fix-weight]
src.manual = "Sans2.004"
fetch.github = "notofonts/noto-cjk"
git.sparseCheckout = [ "Sans/OTC" ]

0 comments on commit d243c25

Please sign in to comment.