mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 06:19:11 +00:00
wrapper-manager: init extra module arguments
This commit is contained in:
parent
7bde39a3a7
commit
7d50020b75
5
modules/wrapper-manager/_private/default.nix
Normal file
5
modules/wrapper-manager/_private/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./extra-arguments.nix
|
||||||
|
];
|
||||||
|
}
|
12
modules/wrapper-manager/_private/extra-arguments.nix
Normal file
12
modules/wrapper-manager/_private/extra-arguments.nix
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
foodogsquaredLib = import ../../../lib { inherit pkgs; };
|
||||||
|
in
|
||||||
|
{
|
||||||
|
_module.args.foodogsquaredLib =
|
||||||
|
foodogsquaredLib.extend (final: prev: {
|
||||||
|
wrapper-manager =
|
||||||
|
import ../../../lib/env-specific/wrapper-manager.nix { inherit pkgs lib; self = final; };
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user