Skip to content

Commit

Permalink
Add some info on how to fetch git repo infos for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Oct 20, 2024
1 parent 1e92f1c commit 38953b5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,21 @@ nh home switch ./#<username>

## Nixvim

Nixvim is the nix way to configure neovim. More information can be found in the [nvim README](./../home-manager/shell/nvim/README.md).
Nixvim is the nix way to configure neovim. More information can be found in the [nvim README](../modules/home-manager/server/shell/nvim/README.md).

## Git Fetchers

When using a git fetcher, you need the commit hash/revision/tag/version and the corresponding hash. You can either fetch everything with an empty hash, let the build error out and copy the hash from the logs, or use `nix-prefetch-git`:

```sh
nix run nixpkgs#nix-prefetch-git <URL>
```

To prefetch candy-icons, you would call:

```sh
nix run nixpkgs#nix-prefetch-git https://github.com/EliverLara/candy-icons
```

## Helpful Material

Expand Down

0 comments on commit 38953b5

Please sign in to comment.