pollymc/packages/nix/flake-compat.nix

10 lines
300 B
Nix
Raw Normal View History

2022-01-09 11:38:39 +05:30
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 = ../..; }