Add nix flake support

With this commit, we add nix flake support. Flakes are evaluated in pure
evaluation mode. The script generate.sh does not work in pure evaluation
mode since it node2nix fetches itself resources from the network. In
order to enable pure evaluation, we add the generated nix files to this
repository.
This commit is contained in:
Martin Puppe 2021-09-20 00:11:34 +02:00
parent c0fd2b96a5
commit 8c56307c55
10 changed files with 17547 additions and 7 deletions

3
overlay.nix Normal file
View file

@ -0,0 +1,3 @@
final: prev: {
financier-dist = import ./dist.nix { inherit (prev) pkgs system; };
}