diff --git a/default.nix b/default.nix index b22e926ea4..ceac8f3b65 100644 --- a/default.nix +++ b/default.nix @@ -1,3 +1,10 @@ -(import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { +let + inherit (default.inputs.nixos.lib) recurseIntoAttrs; + + default = (import (fetchTarball https://github.com/edolstra/flake-compat/archive/master.tar.gz) { src = builtins.fetchGit ./.; -}).defaultNix +}).defaultNix; +in +builtins.mapAttrs (_: v: recurseIntoAttrs v) default.packages // { + shell = import ./shell.nix; +}