mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
Fixed fatal error with X11 and libGL while building playonlinux on unstable
This commit is contained in:
parent
171eb304c6
commit
dc4b9b30ed
@ -20,6 +20,8 @@
|
||||
, which
|
||||
, curl
|
||||
, jq
|
||||
, xorg
|
||||
, libGL
|
||||
}:
|
||||
|
||||
let
|
||||
@ -50,7 +52,7 @@ let
|
||||
else if stdenv.hostPlatform.system == "i686-linux" then "${stdenv.cc}/nix-support/dynamic-linker"
|
||||
else throw "Unsupported platform for PlayOnLinux: ${stdenv.hostPlatform.system}";
|
||||
ld64 = "${stdenv.cc}/nix-support/dynamic-linker";
|
||||
libs = pkgs: stdenv.lib.makeLibraryPath [ pkgs.xorg.libX11 ];
|
||||
libs = pkgs: stdenv.lib.makeLibraryPath [ xorg.libX11 xorg.libX11.dev libGL ];
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "playonlinux-${version}";
|
||||
@ -66,6 +68,8 @@ in stdenv.mkDerivation {
|
||||
[ python2Packages.python
|
||||
python2Packages.wxPython
|
||||
python2Packages.setuptools
|
||||
xorg.libX11.dev
|
||||
libGL
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
@ -102,6 +106,5 @@ in stdenv.mkDerivation {
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.a1russell ];
|
||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user