summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-12-08 07:59:19 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-12-08 07:59:19 -0800
commitee26d481403e46e675750180b691ed8162bfc3b6 (patch)
tree5adf41f162be9e647194977571a22b5fad5fcc11 /shell.nix
parent24c64d4b4464a7f503d0fe0aac526c8c97bab725 (diff)
nix: add back shell.nix
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/shell.nix b/shell.nix
new file mode 100644
index 000000000..6b7e7a250
--- /dev/null
+++ b/shell.nix
@@ -0,0 +1,9 @@
+(import
+ (
+ let flake-compat = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flake-compat; in
+ fetchTarball {
+ url = "https://github.com/edolstra/flake-compat/archive/${flake-compat.locked.rev}.tar.gz";
+ sha256 = flake-compat.locked.narHash;
+ }
+ )
+ { src = ./.; }).shellNix