Add support for Nix flakes.

This relies on Cargo2Nix, and because we don't want to be maintaining
  that file by hand, we introduce a new continuous workflow to
  automatically update the generated Cargo.nix and submit a PR whenever
  something is merged into master.

  This should make the process of supporting Nix bearable. We'll
  re-assess in a while.

  Co-authored-by: KtorZ <matthias.benkort@gmail.com>
This commit is contained in:
Micah Kendall
2023-01-07 22:05:49 +11:00
committed by KtorZ
parent 6e554129e9
commit 590f40139f
5 changed files with 261 additions and 2 deletions

3
.gitattributes vendored Normal file
View File

@@ -0,0 +1,3 @@
Cargo.lock linguist-generated=true merge=binary linguist-vendored
Cargo.nix linguist-generated=true merge=binary linguist-vendored
flake.lock linguist-generated=true merge=binary linguist-vendored