summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-01-08 15:11:06 -0500
committerGitHub <noreply@github.com>2020-01-08 15:11:06 -0500
commit063935621c351280830181d745fe2d0244f34515 (patch)
treea57f0daa5fc9530cdd454c212db8f3749d11b908
parent0def56c8ee02ab3f93e073b950c9438211f2432c (diff)
parent2c6eaef83ec8168cbf57fa76fc05ea2bf5eea17b (diff)
downloadnixpkgs-063935621c351280830181d745fe2d0244f34515.tar
nixpkgs-063935621c351280830181d745fe2d0244f34515.tar.gz
nixpkgs-063935621c351280830181d745fe2d0244f34515.tar.bz2
nixpkgs-063935621c351280830181d745fe2d0244f34515.tar.lz
nixpkgs-063935621c351280830181d745fe2d0244f34515.tar.xz
nixpkgs-063935621c351280830181d745fe2d0244f34515.tar.zst
nixpkgs-063935621c351280830181d745fe2d0244f34515.zip
Merge pull request #77336 from matthewbauer/fix-missing-xmemdup-in-gnustep
gnustep/base: add libiberty to linker flags
-rw-r--r--pkgs/desktops/gnustep/base/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/desktops/gnustep/base/default.nix b/pkgs/desktops/gnustep/base/default.nix
index e96dbf0b6fc..87cded31e5f 100644
--- a/pkgs/desktops/gnustep/base/default.nix
+++ b/pkgs/desktops/gnustep/base/default.nix
@@ -9,6 +9,7 @@
 , libobjc, libgcrypt
 , icu
 , pkgconfig, portaudio
+, libiberty
 }:
 let
   version = "1.26.0";
@@ -30,8 +31,14 @@ gsmakeDerivation {
     libobjc libgcrypt
     icu
     portaudio
+    libiberty
   ];
   patches = [ ./fixup-paths.patch ];
+
+  # Bump to gcc9 has give missing xmemdup symbols. Need libiberty here
+  # to resolve it, unclear why. See #76927 for more info
+  NIX_LDFLAGS = "-liberty";
+
   meta = {
     description = "An implementation of AppKit and Foundation libraries of OPENSTEP and Cocoa";
   };