mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-13 20:30:02 +00:00
documentation: use feature test for docs generator
This should be less brittle than the version-based check, although arguably this kind of `lib.version` mismatch should break as early as possible... Fixes: #718
This commit is contained in:
parent
b06bab83bd
commit
2d20e86111
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ let
|
|||
|
||||
# TODO: Remove this when dropping 22.11 support.
|
||||
manual = realManual //
|
||||
lib.optionalAttrs (lib.versionOlder lib.version "23.05-pre") rec {
|
||||
lib.optionalAttrs (!pkgs.buildPackages ? nixos-render-docs) rec {
|
||||
optionsJSON = pkgs.writeTextFile {
|
||||
name = "options.json-stub";
|
||||
destination = "/share/doc/darwin/options.json";
|
||||
|
|
Loading…
Add table
Reference in a new issue