Commit 528cee8
committed
Add Nix flake
Add a Nix flake that creates a package using `libgit2` and `pkg-config`.
Pinning nixpkgs to 22.11 ensures the correct version of `libgit2` is
used as per the README with no changed needed to the source code.
With this in place, the package can be build using `nix build` which
creates an executable at `result/bin/lite`.
A dev shell can also be started with `nix develop` based on the package
inputs.1 parent 36e0e74 commit 528cee8
2 files changed
Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments