mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
kat{pkgs,lib} -> exprs, inhoused locally
This commit is contained in:
parent
b2a87d2218
commit
7b3078dc27
43 changed files with 8 additions and 1696 deletions
|
|
@ -1,6 +1,11 @@
|
|||
let
|
||||
# we don't have lib without sources, so we need optionalAttrs
|
||||
optionalAttrs = cond: as: if cond then as else {};
|
||||
# Sources are from niv.
|
||||
sources = import ./nix/sources.nix;
|
||||
sources = import ./nix/sources.nix // optionalAttrs (builtins.pathExists ./overlays/exprs/default.nix) {
|
||||
katexprs = ./overlays/exprs;
|
||||
};
|
||||
|
||||
# We pass sources through to pkgs and get our nixpkgs + overlays.
|
||||
pkgs = import ./overlays { inherit sources; };
|
||||
# We want our overlaid lib.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue