summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pkgs/applications/misc/octoprint/default.nix6
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/";