mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
16 lines
547 B
Nix
16 lines
547 B
Nix
{ pkgs ? import <nixpkgs> { }
|
|
, lib ? pkgs.lib
|
|
# for internal use...
|
|
, super ? if !isOverlayLib then lib else { }
|
|
, self ? if isOverlayLib then lib else { }
|
|
, before ? if !isOverlayLib then lib else { }
|
|
, isOverlayLib ? false
|
|
}@args: let
|
|
colorHelpers = import ./color-helpers.nix { inherit lib; };
|
|
lib = before // katlib // self;
|
|
katlib = with before; with katlib; with self;
|
|
{
|
|
inherit (colorHelpers) hextorgba;
|
|
hostImport = import ./host-import.nix { inherit lib; };
|
|
modList = import ./module-list.nix { inherit lib; };
|
|
}; in katlib
|