clan-core/docs/flake-module.nix

12 lines
280 B
Nix
Raw Normal View History

{ inputs, ... }:
{
perSystem =
{ self', pkgs, ... }:
{
devShells.docs = pkgs.callPackage ./shell.nix { inherit (self'.packages) docs; };
packages = {
docs = pkgs.python3.pkgs.callPackage ./default.nix { inherit (inputs) nixpkgs; };
};
};
}