nx-libs: binutils 2.37 fix

Co-authored-by: TredwellGit <tredwell@tutanota.com>
This commit is contained in:
Bernardo Meurer 2021-08-21 14:08:31 -07:00
parent 492a60230c
commit 561781c4d7
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246

View file

@ -38,6 +38,12 @@ stdenv.mkDerivation rec {
ln -s libNX_X11.so.6.3.0
'';
preConfigure = ''
# binutils 2.37 fix
# https://github.com/ArcticaProject/nx-libs/issues/1003
substituteInPlace nx-X11/config/cf/Imake.tmpl --replace "clq" "cq"
'';
PREFIX=""; # Don't install to $out/usr/local
installPhase = ''
make DESTDIR="$out" install