From 8d7af7c14d9cb720d47f4b949a06c3e0fc3c78f9 Mon Sep 17 00:00:00 2001 From: K900 Date: Wed, 11 Sep 2024 08:04:55 +0300 Subject: [PATCH] gamescope: 3.15.5 -> 3.15.9 --- pkgs/by-name/ga/gamescope/package.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ga/gamescope/package.nix b/pkgs/by-name/ga/gamescope/package.nix index 26dbdf8440e4..7619b43c6dc1 100644 --- a/pkgs/by-name/ga/gamescope/package.nix +++ b/pkgs/by-name/ga/gamescope/package.nix @@ -33,6 +33,7 @@ , lib , makeBinaryWrapper , nix-update-script +, writeShellScriptBin , enableExecutable ? true , enableWsi ? true }: @@ -46,14 +47,14 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gamescope"; - version = "3.15.5"; + version = "3.15.9"; src = fetchFromGitHub { owner = "ValveSoftware"; repo = "gamescope"; rev = "refs/tags/${finalAttrs.version}"; fetchSubmodules = true; - hash = "sha256-H6o0UdJ+wpfy0YY6LDzncWWzUGAMwQC7sHPu5TxHC8I="; + hash = "sha256-+BRinPyh8t9HboT0uXPEu+sSJz9qCZshlfzDfZDA41Q="; }; patches = [ @@ -98,6 +99,9 @@ stdenv.mkDerivation (finalAttrs: { edid-decode # For OpenVR cmake + + # calls git describe to encode its own version into the build + (writeShellScriptBin "git" "echo ${finalAttrs.version}") ] ++ lib.optionals enableExecutable [ makeBinaryWrapper glslang