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; wrapper-manager = ./modules/env/home-manager;
}; };
wrapperManagerModules.default = ./modules/wrapper-manager; lib = import ./lib/env.nix;
wrapperManagerLib = ./lib; wrapperManagerLib = ./lib;
} }

View File

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

View File

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