about summary refs log tree commit diff
path: root/pkgs/tools/graphics/mangohud
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@pm.me>2023-04-13 22:28:05 -0400
committerKira Bruneau <kira.bruneau@pm.me>2023-04-14 11:49:00 -0400
commita98e3adeeb186033883d5d737b07af34ebafd622 (patch)
tree17ac3252691943e4870e8a003641ec9ac53544ac /pkgs/tools/graphics/mangohud
parent69ac4b600b63f72c01244ee8e9635673d63f04de (diff)
mangohud: add update script
Diffstat (limited to 'pkgs/tools/graphics/mangohud')
-rw-r--r--pkgs/tools/graphics/mangohud/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/mangohud/default.nix b/pkgs/tools/graphics/mangohud/default.nix
index 665118808c192..734f504caad33 100644
--- a/pkgs/tools/graphics/mangohud/default.nix
+++ b/pkgs/tools/graphics/mangohud/default.nix
@@ -30,6 +30,7 @@
 , nlohmann_json
 , xorg
 , gamescopeSupport ? true # build mangoapp and mangohudctl
+, nix-update-script
 }:
 
 let
@@ -186,6 +187,8 @@ stdenv.mkDerivation (finalAttrs: {
       --prefix XDG_DATA_DIRS : "$out/share"
   '';
 
+  passthru.updateScript = nix-update-script { };
+
   meta = with lib; {
     description = "A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more";
     homepage = "https://github.com/flightlessmango/MangoHud";