xwinwrap: use xorg.* packages directly instead of xlibsWrapper indirection

Tested as no material change in `out` output with `diffoscope`.
This commit is contained in:
Sergei Trofimovich 2022-10-28 08:50:10 +01:00 committed by Bjørn Forsman
parent e180a6988a
commit 0b67da19df

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchbzr, xlibsWrapper }: { lib, stdenv, fetchbzr, xorg }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "xwinwrap"; pname = "xwinwrap";
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
}; };
buildInputs = [ buildInputs = [
xlibsWrapper xorg.libX11
xorg.libXext
xorg.libXrender
]; ];
buildPhase = if stdenv.hostPlatform.system == "x86_64-linux" then '' buildPhase = if stdenv.hostPlatform.system == "x86_64-linux" then ''