wrapper-manager: init extra module arguments

This commit is contained in:
Gabriel Arazas 2024-07-10 15:51:23 +08:00
parent 7bde39a3a7
commit 7d50020b75
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,5 @@
{
imports = [
./extra-arguments.nix
];
}

View 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; };
});
}