xf86_input_wacom: fix build

I suspect that some of the stdenv changes (PR #127736 maybe?)
affected how the newline was handled.  Anyway, it was ugly,
so let's use a more standard approach.
This commit is contained in:
Vladimír Čunát 2021-07-16 16:27:33 +02:00
parent 2a44031d56
commit 6a10c72d90
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -45,13 +45,11 @@ stdenv.mkDerivation rec {
xorgserver
];
preConfigure = ''
mkdir -p $out/share/X11/xorg.conf.d
configureFlags="--with-xorg-module-dir=$out/lib/xorg/modules
--with-sdkdir=$out/include/xorg --with-xorg-conf-dir=$out/share/X11/xorg.conf.d"
'';
CFLAGS = "-I${pixman}/include/pixman-1";
configureFlags = [
"--with-xorg-module-dir=$(out)/lib/xorg/modules"
"--with-sdkdir=$(out)/include/xorg"
"--with-xorg-conf-dir=$(out)/share/X11/xorg.conf.d"
];
meta = with lib; {
maintainers = with maintainers; [ goibhniu fortuneteller2k ];