forked from Fediversity/Fediversity
24 lines
398 B
Nix
24 lines
398 B
Nix
{ sources ? import ./npins
|
|
, system ? builtins.currentSystem
|
|
, pkgs ? import sources.nixpkgs {
|
|
inherit system;
|
|
config = { };
|
|
overlays = [ ];
|
|
}
|
|
, lib ? import "${sources.nixpkgs}/lib"
|
|
,
|
|
}:
|
|
let
|
|
site = pkgs.callPackage ./site.nix { };
|
|
in
|
|
{
|
|
build = site.build "fediversity.eu" ./content;
|
|
|
|
shell = pkgs.mkShellNoCC {
|
|
packages = with pkgs; [
|
|
cmark
|
|
npins
|
|
];
|
|
};
|
|
}
|