This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity.eu/default.nix

24 lines
398 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"
,
}:
let
2024-11-13 15:24:40 +01:00
site = pkgs.callPackage ./site.nix { };
2024-11-13 15:24:40 +01:00
in
{
2024-11-13 15:24:40 +01:00
build = site.build "fediversity.eu" ./content;
2024-11-13 15:24:40 +01:00
2024-11-13 15:24:40 +01:00
shell = pkgs.mkShellNoCC {
packages = with pkgs; [
cmark
npins
];
};
}