kat{pkgs,lib} -> exprs, inhoused locally

This commit is contained in:
kat witch 2021-08-30 01:48:52 +01:00
parent b2a87d2218
commit 7b3078dc27
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
43 changed files with 8 additions and 1696 deletions

View file

@ -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.