add deploy script for homepage

This commit is contained in:
Jörg Thalheim
2024-04-12 16:37:50 +02:00
committed by Johannes Kirschbauer
parent caaaa10580
commit e9b23af604
2 changed files with 42 additions and 1 deletions

View File

@@ -1,11 +1,17 @@
{ inputs, ... }:
{
perSystem =
{ self', pkgs, ... }:
{
config,
self',
pkgs,
...
}:
{
devShells.docs = pkgs.callPackage ./shell.nix { inherit (self'.packages) docs; };
packages = {
docs = pkgs.python3.pkgs.callPackage ./default.nix { inherit (inputs) nixpkgs; };
deploy-docs = pkgs.callPackage ./deploy-docs.nix { inherit (config.packages) docs; };
};
};
}