diff options
author | Pamplemousse <xav.maso@gmail.com> | 2022-01-26 21:55:25 +0100 |
---|---|---|
committer | Pamplemousse <xav.maso@gmail.com> | 2022-01-26 21:56:11 +0100 |
commit | 5148813e179418be1a0317a3920c612e2e4d9f22 (patch) | |
tree | 2dd6d9a3af5e168f8972d1938a393313bfe96c29 /nixos/modules/services/misc/taskserver/default.nix | |
parent | b54751a22183647b2467df863ab4b364792b51af (diff) |
modules/taskserver: Minor update
* documentation - update link - minor consistency update * make tests pass
Diffstat (limited to 'nixos/modules/services/misc/taskserver/default.nix')
-rw-r--r-- | nixos/modules/services/misc/taskserver/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix index a894caed1a34a..ff63c41e193c6 100644 --- a/nixos/modules/services/misc/taskserver/default.nix +++ b/nixos/modules/services/misc/taskserver/default.nix @@ -106,7 +106,7 @@ let certtool = "${pkgs.gnutls.bin}/bin/certtool"; - nixos-taskserver = pkgs.pythonPackages.buildPythonApplication { + nixos-taskserver = with pkgs.python2.pkgs; buildPythonApplication { name = "nixos-taskserver"; src = pkgs.runCommand "nixos-taskserver-src" { preferLocalBuild = true; } '' @@ -129,7 +129,7 @@ let EOF ''; - propagatedBuildInputs = [ pkgs.pythonPackages.click ]; + propagatedBuildInputs = [ click ]; }; in { @@ -138,12 +138,13 @@ in { enable = mkOption { type = types.bool; default = false; - description = '' + description = let + url = "https://nixos.org/manual/nixos/stable/index.html#module-services-taskserver"; + in '' Whether to enable the Taskwarrior server. More instructions about NixOS in conjuction with Taskserver can be - found in the NixOS manual at - <olink targetdoc="manual" targetptr="module-taskserver"/>. + found <link xlink:href="${url}">in the NixOS manual</link>. ''; }; |