devos/lib/compat/default.nix
2021-04-18 21:00:45 -06:00

16 lines
340 B
Nix

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