feat: Add flake.nix for nix users
Co-authored-by: Winter <winter@winter.cafe>
This commit is contained in:
6
shell.nix
Normal file
6
shell.nix
Normal 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
|
||||
Reference in New Issue
Block a user