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

Validated as no change in `out` output with `diffoscope`.
This commit is contained in:
Sergei Trofimovich 2022-11-14 23:20:51 +00:00
parent a82e6b5dae
commit 065e85e8ad

View File

@ -1,4 +1,10 @@
{lib, stdenv, fetchurl, automake, autoconf, xlibsWrapper}:
{ lib
, stdenv
, fetchurl
, automake
, autoconf
, libX11
}:
stdenv.mkDerivation rec {
pname = "libstroke";
@ -10,7 +16,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ automake autoconf ];
buildInputs = [ xlibsWrapper ];
buildInputs = [ libX11 ];
# libstroke ships with an ancient config.sub that doesn't know about x86_64, so regenerate it.
# Also, modern automake doesn't like things and returns error code 63. But it generates the file.