1
1
mirror of https://github.com/divnix/digga.git synced 2024-08-15 10:00:22 +03:00
digga/default.nix

18 lines
485 B
Nix
Raw Normal View History

let
inherit (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;
}
)
2022-04-21 03:16:34 +03:00
{ src = ./.; }) defaultNix;
in
2022-04-21 03:16:34 +03:00
# Pass this flake as inputs.digga
defaultNix // {
inputs = defaultNix.inputs // { digga = defaultNix; };
shell = import ./devShell.nix { };
}