ppsspp: change self to finalAttrs

+3 -3
+3 -3
pkgs/applications/emulators/ppsspp/default.nix
··· 29 in 30 # Only SDL frontend needs to specify whether to use Wayland 31 assert forceWayland -> !enableQt; 32 - stdenv.mkDerivation (self: { 33 pname = "ppsspp" 34 + lib.optionalString enableQt "-qt" 35 + lib.optionalString (!enableQt) "-sdl" ··· 39 src = fetchFromGitHub { 40 owner = "hrydgard"; 41 repo = "ppsspp"; 42 - rev = "v${self.version}"; 43 fetchSubmodules = true; 44 sha256 = "sha256-7xzhN8JIQD4LZg8sQ8rLNYZrW0nCNBfZFgzoKdoWbKc="; 45 }; 46 47 postPatch = '' 48 - substituteInPlace git-version.cmake --replace unknown ${self.src.rev} 49 substituteInPlace UI/NativeApp.cpp --replace /usr/share $out/share 50 ''; 51
··· 29 in 30 # Only SDL frontend needs to specify whether to use Wayland 31 assert forceWayland -> !enableQt; 32 + stdenv.mkDerivation (finalAttrs: { 33 pname = "ppsspp" 34 + lib.optionalString enableQt "-qt" 35 + lib.optionalString (!enableQt) "-sdl" ··· 39 src = fetchFromGitHub { 40 owner = "hrydgard"; 41 repo = "ppsspp"; 42 + rev = "v${finalAttrs.version}"; 43 fetchSubmodules = true; 44 sha256 = "sha256-7xzhN8JIQD4LZg8sQ8rLNYZrW0nCNBfZFgzoKdoWbKc="; 45 }; 46 47 postPatch = '' 48 + substituteInPlace git-version.cmake --replace unknown ${finalAttrs.src.rev} 49 substituteInPlace UI/NativeApp.cpp --replace /usr/share $out/share 50 ''; 51