2022-12-25 10:54:10 +00:00
|
|
|
# We use top-level nix-flake, so default.nix is basically just a wrapper around ./flake.nix
|
2022-12-25 23:15:15 +00:00
|
|
|
(import
|
|
|
|
(
|
|
|
|
let lock = builtins.fromJSON (builtins.readFile ./flake.lock); in
|
|
|
|
fetchTarball {
|
|
|
|
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
|
|
|
|
sha256 = lock.nodes.flake-compat.locked.narHash;
|
|
|
|
}
|
|
|
|
)
|
|
|
|
{ src = ./.; }
|
|
|
|
).defaultNix
|