Nimble packages Nix flake [maintainer=nsaspy]
- Nix 83.8%
- Nim 10.8%
- Shell 5.4%
| .github/workflows | ||
| packages | ||
| patches | ||
| src | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| init.sh | ||
| nix.nimble | ||
| overlay.nix | ||
| overrides.nix | ||
| README.md | ||
| setup-hook.sh | ||
nsaspy's Nimble packages Nix flake
Im running this as long as i need it, started the update action so if you was using the community version you can continue here.
This repository contains experimental-grade, auto-generated Nim packages.
TODO:
- automatic testing
- back-versioning
Usage
nix run nimble#fugitive
# Build and execute a Nimble binary
nix dev-shell nimble
# Enter a shell with the Nim and Nimble utilities
For an example of how to refer to Nim packages when building a Nix package you could have a look at this flake.
Synchronization
nix run .#package-updater
# …or to update an invidual package…
nix run .#package-updater generate foobar
This will prefetch the repositories of new and updated Nimble packages and record the necessary metadata to fetch the source as a fixed-output derivation. Each package has such a fixed-output that is used as a input to a derivations that produce metadata to (attempt to) build the package.
Overrides
Arguments to the Nim package builder may be added to the [./overrides.nix] file.