From 561781c4d7d00ed57de1f6c3918bf59d7db3856d Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Sat, 21 Aug 2021 14:08:31 -0700 Subject: [PATCH] nx-libs: binutils 2.37 fix Co-authored-by: TredwellGit --- pkgs/tools/X11/nx-libs/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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