From 4a0f1c81d3eee3fe19724a457e1520144cefbfdb Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Thu, 15 Feb 2024 18:41:18 +0100 Subject: [PATCH] gamescope: add update script Signed-off-by: Sefa Eyeoglu --- pkgs/applications/window-managers/gamescope/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/window-managers/gamescope/default.nix b/pkgs/applications/window-managers/gamescope/default.nix index 2326d686c2a2..7185f2288a01 100644 --- a/pkgs/applications/window-managers/gamescope/default.nix +++ b/pkgs/applications/window-managers/gamescope/default.nix @@ -26,6 +26,7 @@ , libdisplay-info , lib , makeBinaryWrapper +, nix-update-script , enableExecutable ? true , enableWsi ? true }: @@ -131,6 +132,8 @@ stdenv.mkDerivation (finalAttrs: { cp -r ${joshShaders}/* $out/share/gamescope/reshade/ ''; + passthru.updateScript = nix-update-script {}; + meta = with lib; { description = "SteamOS session compositing window manager"; homepage = "https://github.com/ValveSoftware/gamescope";