Loading pkgs/by-name/ga/gamescope/package.nix +11 −5 Original line number Diff line number Diff line Loading @@ -24,9 +24,11 @@ , stb , wlroots , libliftoff , libdecor , libdisplay-info , lib , makeBinaryWrapper , patchelfUnstable , nix-update-script , enableExecutable ? true , enableWsi ? true Loading @@ -41,14 +43,14 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gamescope"; version = "3.14.2"; version = "3.14.3"; src = fetchFromGitHub { owner = "ValveSoftware"; repo = "gamescope"; rev = "refs/tags/${finalAttrs.version}"; fetchSubmodules = true; hash = "sha256-Ym1kl9naAm1MGlxCk32ssvfiOlstHiZPy7Ga8EZegus="; hash = "sha256-+6RyrdHRDk9aeM52wcgLo966jP70EAiXSMR3sffNeZM="; }; patches = [ Loading Loading @@ -99,7 +101,7 @@ stdenv.mkDerivation (finalAttrs: { glm ] ++ lib.optionals enableWsi [ vulkan-headers ] ++ lib.optionals enableExecutable [ ] ++ lib.optionals enableExecutable (wlroots.buildInputs ++ [ # gamescope uses a custom wlroots branch xorg.libXcomposite xorg.libXcursor xorg.libXdamage Loading @@ -114,7 +116,7 @@ stdenv.mkDerivation (finalAttrs: { libdrm libliftoff SDL2 wlroots libdecor libinput libxkbcommon gbenchmark Loading @@ -122,9 +124,13 @@ stdenv.mkDerivation (finalAttrs: { libcap stb libdisplay-info ]; ]); postInstall = lib.optionalString enableExecutable '' # using patchelf unstable because the stable version corrupts the binary ${lib.getExe patchelfUnstable} $out/bin/gamescope \ --add-rpath ${vulkan-loader}/lib --add-needed libvulkan.so.1 # --debug-layers flag expects these in the path wrapProgram "$out/bin/gamescope" \ --prefix PATH : ${with xorg; lib.makeBinPath [xprop xwininfo]} Loading Loading
pkgs/by-name/ga/gamescope/package.nix +11 −5 Original line number Diff line number Diff line Loading @@ -24,9 +24,11 @@ , stb , wlroots , libliftoff , libdecor , libdisplay-info , lib , makeBinaryWrapper , patchelfUnstable , nix-update-script , enableExecutable ? true , enableWsi ? true Loading @@ -41,14 +43,14 @@ let in stdenv.mkDerivation (finalAttrs: { pname = "gamescope"; version = "3.14.2"; version = "3.14.3"; src = fetchFromGitHub { owner = "ValveSoftware"; repo = "gamescope"; rev = "refs/tags/${finalAttrs.version}"; fetchSubmodules = true; hash = "sha256-Ym1kl9naAm1MGlxCk32ssvfiOlstHiZPy7Ga8EZegus="; hash = "sha256-+6RyrdHRDk9aeM52wcgLo966jP70EAiXSMR3sffNeZM="; }; patches = [ Loading Loading @@ -99,7 +101,7 @@ stdenv.mkDerivation (finalAttrs: { glm ] ++ lib.optionals enableWsi [ vulkan-headers ] ++ lib.optionals enableExecutable [ ] ++ lib.optionals enableExecutable (wlroots.buildInputs ++ [ # gamescope uses a custom wlroots branch xorg.libXcomposite xorg.libXcursor xorg.libXdamage Loading @@ -114,7 +116,7 @@ stdenv.mkDerivation (finalAttrs: { libdrm libliftoff SDL2 wlroots libdecor libinput libxkbcommon gbenchmark Loading @@ -122,9 +124,13 @@ stdenv.mkDerivation (finalAttrs: { libcap stb libdisplay-info ]; ]); postInstall = lib.optionalString enableExecutable '' # using patchelf unstable because the stable version corrupts the binary ${lib.getExe patchelfUnstable} $out/bin/gamescope \ --add-rpath ${vulkan-loader}/lib --add-needed libvulkan.so.1 # --debug-layers flag expects these in the path wrapProgram "$out/bin/gamescope" \ --prefix PATH : ${with xorg; lib.makeBinPath [xprop xwininfo]} Loading