Fediversity/website/default.nix

31 lines
518 B
Nix
Raw Normal View History

2024-11-13 15:24:40 +01:00
{ sources ? import ./npins
, system ? builtins.currentSystem
, pkgs ? import sources.nixpkgs {
inherit system;
config = { };
overlays = [ ];
}
, lib ? import "${sources.nixpkgs}/lib"
,
}:
{
2024-11-13 15:24:40 +01:00
build =
let
result = pkgs.lib.evalModules {
modules = [
./structure
./content
{ _module.args = { inherit pkgs; }; }
];
};
in
result.config.build;
2024-11-13 15:24:40 +01:00
2024-11-13 15:24:40 +01:00
shell = pkgs.mkShellNoCC {
packages = with pkgs; [
cmark
npins
];
};
}