Merge pull request #56997 from mtrsk/playonlinux-fix

Fixed fatal error with libX11 and libGL while building playonlinux

authored by Silvan Mosberger and committed by GitHub d2602779 d32b5e57

+5 -2
+5 -2
pkgs/applications/misc/playonlinux/default.nix
··· 20 20 , which 21 21 , curl 22 22 , jq 23 + , xorg 24 + , libGL 23 25 }: 24 26 25 27 let ··· 50 52 else if stdenv.hostPlatform.system == "i686-linux" then "${stdenv.cc}/nix-support/dynamic-linker" 51 53 else throw "Unsupported platform for PlayOnLinux: ${stdenv.hostPlatform.system}"; 52 54 ld64 = "${stdenv.cc}/nix-support/dynamic-linker"; 53 - libs = pkgs: stdenv.lib.makeLibraryPath [ pkgs.xorg.libX11 ]; 55 + libs = pkgs: stdenv.lib.makeLibraryPath [ xorg.libX11 libGL ]; 54 56 55 57 in stdenv.mkDerivation { 56 58 name = "playonlinux-${version}"; ··· 66 68 [ python2Packages.python 67 69 python2Packages.wxPython 68 70 python2Packages.setuptools 71 + xorg.libX11 72 + libGL 69 73 ]; 70 74 71 75 patchPhase = '' ··· 102 106 license = licenses.gpl3; 103 107 maintainers = [ maintainers.a1russell ]; 104 108 platforms = [ "x86_64-linux" "i686-linux" ]; 105 - broken = true; 106 109 }; 107 110 }