flake: Inherit scope utilities in wrapUtils

This commit is contained in:
Giulio De Pasquale 2023-02-14 17:20:55 +01:00
parent 608fd46eb4
commit 9e67978f6e

View File

@ -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 { };