diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2021-01-31 18:43:52 -0800 |
---|---|---|
committer | Bernardo Meurer <bernardo@meurer.org> | 2021-01-31 18:43:52 -0800 |
commit | fa08c42f940c87ed90571e66ae82ba24d45db046 (patch) | |
tree | ee8e8e14525d8c85803192f40f8f783cc128450b | |
parent | 5b896d3797461b5ab14be09c0cc3c8599e1f51b3 (diff) |
octoprint: use nix-updater-script
-rw-r--r-- | pkgs/applications/misc/octoprint/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix index f35d03c6d172..1d6003313348 100644 --- a/pkgs/applications/misc/octoprint/default.nix +++ b/pkgs/applications/misc/octoprint/default.nix @@ -3,6 +3,7 @@ , lib , fetchFromGitHub , python3 +, nix-update-script # To include additional plugins, pass them here as an overlay. , packageOverrides ? self: super: {} }: @@ -170,7 +171,10 @@ let "test_set_external_modification" ]; - passthru.python = self.python; + passthru = { + python = self.python; + updateScript = nix-update-script { attrPath = "octoprint"; }; + }; meta = with lib; { homepage = "https://octoprint.org/"; |