From da8c777f09e9df0d7d4ab262843f707c974ca860 Mon Sep 17 00:00:00 2001 From: Noah Markert Date: Wed, 2 Oct 2024 20:52:35 +0200 Subject: [PATCH] mission-planner: added updateScript --- .../science/robotics/mission-planner/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/robotics/mission-planner/default.nix b/pkgs/applications/science/robotics/mission-planner/default.nix index 9386e1f8f5d2..bd8ac9ed4b97 100644 --- a/pkgs/applications/science/robotics/mission-planner/default.nix +++ b/pkgs/applications/science/robotics/mission-planner/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip, mono }: +{ lib, stdenv, fetchurl, makeDesktopItem, makeWrapper, unzip, mono, gitUpdater +}: let pname = "mission-planner"; @@ -45,6 +46,8 @@ in stdenv.mkDerivation rec { runHook postInstall ''; + passthru.updateScript = gitUpdater { }; + meta = with lib; { description = "ArduPilot ground station"; mainProgram = "mission-planner";