wrapper-manager-fds/lib: make eval functions easier to import

This is to make wrapper-manager-fds easier to bootstrap whether used
with flakes or not.
This commit is contained in:
Gabriel Arazas 2024-07-09 23:17:52 +08:00
parent 2cdb569462
commit 3b261d85b0
3 changed files with 2 additions and 4 deletions

View File

@ -13,6 +13,6 @@
wrapper-manager = ./modules/env/home-manager;
};
wrapperManagerModules.default = ./modules/wrapper-manager;
lib = import ./lib/env.nix;
wrapperManagerLib = ./lib;
}

View File

@ -16,7 +16,7 @@ pkgs.lib.makeExtensible
in
{
build-support = callLibs ./build-support.nix;
env = callLibs ./env.nix;
env = import ./env.nix;
utils = callLibs ./utils.nix;
inherit (self.build-support) mkWrapper mkWrappedPackage;

View File

@ -1,5 +1,3 @@
{ pkgs, lib, self }:
rec {
/* Given the attrset for evaluating a wrapper-manager module, return a
derivation containing the wrapper.