11.stylix/flake/packages.nix
awwpotato a5c1532ab8
flake: partition dev inputs (#1289)
Link: https://github.com/nix-community/stylix/pull/1289

Reviewed-by: Daniel Thwaites <danth@danth.me>
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Tested-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2025-07-06 23:56:44 +02:00

19 lines
480 B
Nix

{ inputs, ... }:
{
perSystem =
{ pkgs, config, ... }:
{
# Make 'nix run .#doc' serve the documentation site
apps.doc.program = config.packages.serve-docs;
packages = {
doc = pkgs.callPackage ../doc {
inherit (inputs) self;
};
serve-docs = pkgs.callPackage ../doc/server.nix {
inherit (config.packages) doc;
};
palette-generator = pkgs.callPackage ../palette-generator { };
};
};
}