diff options
| author | Emily <vcs@emily.moe> | 2024-06-13 13:48:07 +0100 |
|---|---|---|
| committer | Emily <vcs@emily.moe> | 2024-06-13 14:35:20 +0100 |
| commit | 5399270903f6e95e5a5b083391e910dfed226f3a (patch) | |
| tree | af4ecba8e8697e32f8c6dae154b2704ff6363b6b /modules/documentation | |
| parent | cbde36ce624cfc7009b6f8a5970bf7a57580ef07 (diff) | |
treewide: remove shims for Nixpkgs ≤ 23.05
These deprecated versions were already made unsupported by #932.
Diffstat (limited to 'modules/documentation')
| -rw-r--r-- | modules/documentation/default.nix | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/modules/documentation/default.nix b/modules/documentation/default.nix index 10bcbd3..3259cfd 100644 --- a/modules/documentation/default.nix +++ b/modules/documentation/default.nix @@ -21,7 +21,7 @@ let It isn't perfect, but it seems to cover a vast majority of use cases. Caveat: even if the package is reached by a different means, the path above will be shown and not e.g. `${config.services.foo.package}`. */ - realManual = import ../../doc/manual { + manual = import ../../doc/manual { inherit pkgs config; version = config.system.darwinVersion; revision = config.system.darwinRevision; @@ -44,38 +44,6 @@ let in scrubbedEval.options; }; - # TODO: Remove this when dropping 22.11 support. - manual = realManual // - lib.optionalAttrs (!pkgs.buildPackages ? nixos-render-docs) rec { - optionsJSON = pkgs.writeTextFile { - name = "options.json-stub"; - destination = "/share/doc/darwin/options.json"; - text = "{}"; - }; - manpages = pkgs.writeTextFile { - name = "darwin-manpages-stub"; - destination = "/share/man/man5/configuration.nix.5"; - text = '' - .TH "CONFIGURATION\&.NIX" "5" "01/01/1980" "Darwin" "Darwin Reference Pages" - .SH "NAME" - \fIconfiguration\&.nix\fP \- Darwin system configuration specification - .SH "DESCRIPTION" - .PP - The nix\-darwin documentation now requires nixpkgs 23.05 to build. - ''; - }; - manualHTML = pkgs.writeTextFile { - name = "darwin-manual-html-stub"; - destination = "/share/doc/darwin/index.html"; - text = '' - <!DOCTYPE html> - <title>Darwin Configuration Options</title> - The nix-darwin documentation now requires nixpkgs 23.05 to build. - ''; - }; - manualHTMLIndex = "${manualHTML}/share/doc/darwin/index.html"; - }; - helpScript = pkgs.writeScriptBin "darwin-help" '' #! ${pkgs.stdenv.shell} -e |
