{ sources ? import ./npins
, system ? builtins.currentSystem
, pkgs ? import sources.nixpkgs {
inherit system;
config = { };
overlays = [ ];
}
, lib ? import "${sources.nixpkgs}/lib"
}:
let
lib' = final: prev: import ./lib.nix { lib = final; };
lib'' = lib.extend lib';
in
{
build =
result = lib''.evalModules {
modules = [
./structure
./content
_module.args = {
inherit pkgs;
};
];
result.config.build;
shell = pkgs.mkShellNoCC {
packages = with pkgs; [
cmark
npins