sneedmc/nix/flake-compat.nix
Mustafa Çalışkan 123d6c72e4 nix: fix nix-build
2022-05-28 11:32:16 +03:00

10 lines
296 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 = ../.; }