diff options
Diffstat (limited to 'pkgs/tools/misc/dooit/default.nix')
-rw-r--r-- | pkgs/tools/misc/dooit/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/tools/misc/dooit/default.nix b/pkgs/tools/misc/dooit/default.nix index 1a76a304277c..c532b13877d3 100644 --- a/pkgs/tools/misc/dooit/default.nix +++ b/pkgs/tools/misc/dooit/default.nix @@ -3,6 +3,7 @@ , dooit , python3 , testers +, nix-update-script }: python3.pkgs.buildPythonApplication rec { @@ -39,9 +40,13 @@ python3.pkgs.buildPythonApplication rec { # No tests available doCheck = false; - passthru.tests.version = testers.testVersion { - package = dooit; - command = "HOME=$(mktemp -d) dooit --version"; + passthru = { + tests.version = testers.testVersion { + package = dooit; + command = "HOME=$(mktemp -d) dooit --version"; + }; + + updateScript = nix-update-script { }; }; meta = with lib; { |