about summary refs log tree commit diff
path: root/pkgs/tools/games/gamemode
diff options
context:
space:
mode:
authorKira Bruneau <kira.bruneau@pm.me>2023-08-31 14:25:02 -0400
committerKira Bruneau <kira.bruneau@pm.me>2023-12-08 11:03:02 -0500
commitd209e9900cd8cdefd7890b8bd04aa3ced8fb2279 (patch)
tree36ee393eca314fc984cc16a9d27e622ca91d0ef0 /pkgs/tools/games/gamemode
parentcd034f4711f8b164352a773d5c99589a026c290a (diff)
gamemode: add updateScript
Diffstat (limited to 'pkgs/tools/games/gamemode')
-rw-r--r--pkgs/tools/games/gamemode/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/games/gamemode/default.nix b/pkgs/tools/games/gamemode/default.nix
index 84d856c49ff5f..9d2d3f7c6a3e9 100644
--- a/pkgs/tools/games/gamemode/default.nix
+++ b/pkgs/tools/games/gamemode/default.nix
@@ -14,6 +14,7 @@
 , findutils
 , gawk
 , procps
+, nix-update-script
 }:
 
 stdenv.mkDerivation (finalAttrs: {
@@ -100,6 +101,8 @@ stdenv.mkDerivation (finalAttrs: {
       ]}
   '';
 
+  passthru.updateScript = nix-update-script { };
+
   meta = with lib; {
     description = "Optimise Linux system performance on demand";
     homepage = "https://github.com/FeralInteractive/GameMode";