mirror of
https://github.com/divnix/digga.git
synced 2024-12-25 09:04:07 +03:00
25bf8eefe2
Includes nix patch: https://github.com/NixOS/nix/pull/4641
17 lines
370 B
Nix
17 lines
370 B
Nix
{ inputs, system ? builtins.currentSystem }: let
|
|
|
|
nixpkgs = inputs.nixpkgs;
|
|
digga = inputs.digga;
|
|
pkgs = import nixpkgs { inherit system; config = {}; overlays = []; };
|
|
|
|
in {
|
|
|
|
mkFlakeDoc = pkgs.writeText "mkFlakeOptions.md"
|
|
(
|
|
pkgs.nixosOptionsDoc {
|
|
inherit (digga.lib.mkFlake.evalArgs { args = { }; }) options;
|
|
}
|
|
).optionsMDDoc;
|
|
|
|
}
|