feat: add Nix development shell (#2645)

This commit is contained in:
Thiago Kenji Okada
2026-07-20 00:57:37 +03:00
committed by GitHub
parent 556b8aee5b
commit 64364bec5d
5 changed files with 153 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
(import (
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
nodeName = lock.nodes.root.inputs.flake-compat;
in
fetchTarball {
url =
lock.nodes.${nodeName}.locked.url
or "https://github.com/NixOS/flake-compat/archive/${lock.nodes.${nodeName}.locked.rev}.tar.gz";
sha256 = lock.nodes.${nodeName}.locked.narHash;
}
) { src = ./.; }).shellNix