Add nix flake #6

Merged
antifallobst merged 3 commits from bpeetz/trinitrix:nix-flake into master 2023-07-09 06:30:41 +00:00
Owner

This adds a nix flake with direnv support, see the commit messages for further explanation.

This adds a nix flake with direnv support, see the commit messages for further explanation.
bpeetz added 2 commits 2023-07-09 05:34:53 +00:00
f768d214da
Build(flake): Initialize the flake
A nix flake is a reproducible way to describe the building process
to [nix](1).
See [the nix download page](1), on how to install nix. Afterwards
running `nix build` in the repository will result in a successful build.

Flakes and nix-commands are still experimental so they must be enabled
as described in [the corresponding wiki entry](2)

[1]: https://nixos.org/download.html#nix
[2]: https://nixos.wiki/wiki/Flakes#Enable_flakes.
cc602b25ce
Build(flake): Enable direnv integration
[Direnv](1) in combination with some sort of [Nix integration](2)
— in this case [Nix-direnv](3) — allows for reproducible development
environments (and allows uncluttering the default PATH, as cargo and
other development tools are no longer needed in it).

Setting it up is rather easy, just see [Nix-direnv's install
instructions](4).

[1]: https://github.com/direnv/direnv
[2]: https://github.com/direnv/direnv/wiki/Nix
[3]: https://github.com/nix-community/nix-direnv
[4]: https://github.com/nix-community/nix-direnv#installation
bpeetz added 1 commit 2023-07-09 05:53:48 +00:00
antifallobst merged commit 196641959e into master 2023-07-09 06:30:41 +00:00
antifallobst referenced this issue from a commit 2023-07-09 06:30:42 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.