nix: init flake.nix

This inits a flake.nix into the repository that exports a convenient Nix shell.
When using `$ nix develop`, users will get a shell with all relevant tools to
build the repository. If one uses a "direnv" integration into their shell, the
environment is automatically loaded.
This commit is contained in:
Philipp Schuster
2024-03-19 14:48:53 +01:00
parent 1d45bf541e
commit cc4695367f
4 changed files with 110 additions and 0 deletions

4
.gitignore vendored
View File

@@ -47,3 +47,7 @@
/common-uefi-riscv64
/decompressor-build
/stage1.stamp
# Nix
/.direnv
/result*