sneedmc/packages/nix/flake-compat.nix

10 lines
300 B
Nix
Raw Normal View History

2022-01-09 06:08:39 +00:00
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 = ../..; }