diff --git a/flake.nix b/flake.nix index a8e9d70..ef01d73 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,11 @@ }; wrapUtils = { pkgs, unstable, system }: - pkgs.lib.makeScope pkgs.newScope (self: { + let + inherit (pkgs.lib) makeScope; + inherit (pkgs) newScope; + in + makeScope newScope (self: { inherit nixpkgs home-manager nixos-unstable; user = self.callPackage ./lib/user.nix { }; host = self.callPackage ./lib/host.nix { };