Commit 2aec6bb
committed
Add flake.nix file for Nix/NixOS users
This flake defines a development shell for developing argbash. It
ensures that all dependencies used to build this project are pinned to a
specific version (via a lock file). In this case, make, m4, and autoconf.
This guarantees deterministic build behavior; builds always use the same
exact dependencies until the lock file is updated. Any updates to the
dependencies on a system level will not be able to break our build if an
API or a behavior of such a dependency has changed.
The nixpkgs repository already has a build script for argbash here:
https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/ar/argbash
But this is just for building the tool so it can be used. A devshell can
be defined and used from there, but this allows it to be updated when
new dependencies come in.1 parent b49251f commit 2aec6bb
2 files changed
+86
-0
lines changedSome 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 | + | |
0 commit comments