mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
opencsg: Fix build related to missing libX11 linking the example.
This commit is contained in:
parent
dca9630fae
commit
853d612c3f
@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
preConfigure = ''
|
||||
sed -i 's/^\(LIBS *=.*\)$/\1 -lX11/' example/Makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv "$out/"{bin,share/doc/opencsg}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user