pollymc/packages/nix/flake-compat.nix
2022-01-09 17:08:19 +03:00

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