summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-08-10 16:30:28 +0200
committerLudovic Courtès <ludo@gnu.org>2012-08-10 16:30:28 +0200
commit9b70bc6e34345b868aaad2defa426dc331b505d5 (patch)
tree1ca0306f25dbe8fea4ba685e5a3713b09b5f5f12 /pkgs
parentf77a3a15ee4c319a7db662888e41dbde1d7a1a5d (diff)
downloadnixlib-9b70bc6e34345b868aaad2defa426dc331b505d5.tar
nixlib-9b70bc6e34345b868aaad2defa426dc331b505d5.tar.gz
nixlib-9b70bc6e34345b868aaad2defa426dc331b505d5.tar.bz2
nixlib-9b70bc6e34345b868aaad2defa426dc331b505d5.tar.lz
nixlib-9b70bc6e34345b868aaad2defa426dc331b505d5.tar.xz
nixlib-9b70bc6e34345b868aaad2defa426dc331b505d5.tar.zst
nixlib-9b70bc6e34345b868aaad2defa426dc331b505d5.zip
guile: allow libunistring and Readline to be found on OpenSolaris
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/interpreters/guile/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/guile/default.nix b/pkgs/development/interpreters/guile/default.nix
index d217099f3b78..93676a9b11a3 100644
--- a/pkgs/development/interpreters/guile/default.nix
+++ b/pkgs/development/interpreters/guile/default.nix
@@ -82,12 +82,19 @@
 //
 
 (stdenv.lib.optionalAttrs stdenv.isSunOS {
-  # Make sure the right <gmp.h> is found, and not the incompatible
-  # /usr/include/mp.h from OpenSolaris.  See
-  # <https://lists.gnu.org/archive/html/hydra-users/2012-08/msg00000.html>
-  # for details.
   # TODO: Move me above.
-  configureFlags = [ "--with-libgmp-prefix=${gmp}" ];
+  configureFlags =
+    [
+      # Make sure the right <gmp.h> is found, and not the incompatible
+      # /usr/include/mp.h from OpenSolaris.  See
+      # <https://lists.gnu.org/archive/html/hydra-users/2012-08/msg00000.html>
+      # for details.
+      "--with-libgmp-prefix=${gmp}"
+
+      # Same for these (?).
+      "--with-libreadline-prefix=${readline}"
+      "--with-libunistring-prefix=${libunistring}"
+    ];
 })
 
 //