site: wrap with nix

This commit is contained in:
Johannes Kirschbauer
2025-10-06 14:30:52 +02:00
parent 70523f75fa
commit 7112f608a7
10 changed files with 1821 additions and 1753 deletions

12
site/flake-module.nix Normal file
View File

@@ -0,0 +1,12 @@
{
perSystem =
{ pkgs, self', ... }:
{
packages.site = pkgs.callPackage ./default.nix { inherit (self'.packages) module-docs; };
devShells.site = pkgs.mkShell {
shellHook = self'.packages.site.preBuild;
inputsFrom = [ self'.packages.site ];
};
};
}