tinywm: fix cross compilation

This commit is contained in:
Nick Cao 2022-10-14 14:36:47 +08:00
parent 912a3deedc
commit 32eaa25238
No known key found for this signature in database

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
dontConfigure = true;
buildPhase = ''
${stdenv.cc}/bin/cc -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm
$CC -Wall -pedantic -I${libX11}/include tinywm.c -L${libX11}/lib -lX11 -o tinywm
'';
installPhase = ''