feat: Add flake.nix for nix users

Co-authored-by: Winter <winter@winter.cafe>
This commit is contained in:
Moritz Böhme
2022-01-25 11:47:16 +01:00
parent c923e7af73
commit 8e0f5bf125
4 changed files with 132 additions and 0 deletions

6
shell.nix Normal file
View File

@@ -0,0 +1,6 @@
(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