summary refs log tree commit diff
path: root/pkgs/tools/X11/nx-libs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/X11/nx-libs/default.nix')
-rw-r--r--pkgs/tools/X11/nx-libs/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/X11/nx-libs/default.nix b/pkgs/tools/X11/nx-libs/default.nix
index ed28cfbb8d8..64fa84ba4a1 100644
--- a/pkgs/tools/X11/nx-libs/default.nix
+++ b/pkgs/tools/X11/nx-libs/default.nix
@@ -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