Add nix flake files

This commit is contained in:
George Shammas
2020-11-15 21:05:14 -05:00
parent 63fa2caee0
commit 0f6591ff04
5 changed files with 125 additions and 0 deletions

9
shell.nix Normal file
View File

@@ -0,0 +1,9 @@
(import (
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash; }
) {
src = ./.;
}).shellNix