Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1,8 +1,6 @@ # Flake's devShell for non-flake-enabled nix instances let - compat = builtins.fetchTarball { - url = "https://github.com/edolstra/flake-compat/archive/b4a34015c698c7793d592d66adbab377907a2be8.tar.gz"; - sha256 = "sha256:1qc703yg0babixi6wshn5wm2kgl5y1drcswgszh4xxzbrwkk9sv7"; - }; + src = (builtins.fromJSON (builtins.readFile ./flake.lock)).nodes.flakeCompat.locked; + compat = fetchTarball { url = "https://github.com/edolstra/flake-compat/archive/${src.rev}.tar.gz"; sha256 = src.narHash; }; in - (import compat {src = ./.;}).shellNix.default +(import compat { src = ./.; }).shellNix.default |