suyu-nix-test/nix/flake-compat.nix
2024-03-28 22:29:50 +01:00

9 lines
No EOL
295 B
Nix

let
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
inherit (lock.nodes.flake-compat.locked) rev narHash;
flake-compat = fetchTarball {
url = "https://github.com/edolstra/flake-compat/archive/${rev}.tar.gz";
sha256 = narHash;
};
in
import flake-compat { src = ../.; }