summaryrefslogtreecommitdiffstats
path: root/pkgs/development/interpreters/guile
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-02-14 11:19:47 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-02-14 11:22:29 +0100
commit62ca214d4a0dee898d6fa931d849031dfaaf417a (patch)
treeb1ea4a949621f01be4541f4643c10ade9ab06ac3 /pkgs/development/interpreters/guile
parent733dc656b17d52ac9a8d73e5c65817941969f67d (diff)
guile: fix include path in guile-2.0.pc
I forgot to /cc maintainer @civodul about the output-splitting.
Diffstat (limited to 'pkgs/development/interpreters/guile')
-rw-r--r--pkgs/development/interpreters/guile/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/guile/default.nix b/pkgs/development/interpreters/guile/default.nix
index fa8bd29bd684..6b4e6c2a7288 100644
--- a/pkgs/development/interpreters/guile/default.nix
+++ b/pkgs/development/interpreters/guile/default.nix
@@ -72,9 +72,11 @@
# why `--with-libunistring-prefix' and similar options coming from
# `AC_LIB_LINKFLAGS_BODY' don't work on NixOS/x86_64.
sed -i "$out/lib/pkgconfig/guile-2.0.pc" \
- -e 's|-lunistring|-L${libunistring}/lib -lunistring|g ;
+ -e "s|-lunistring|-L${libunistring}/lib -lunistring|g ;
s|^Cflags:\(.*\)$|Cflags: -I${libunistring}/include \1|g ;
- s|-lltdl|-L${libtool.lib}/lib -lltdl|g'
+ s|-lltdl|-L${libtool.lib}/lib -lltdl|g ;
+ s|includedir=$out|includedir=$dev|g
+ "
'';
# make check doesn't work on darwin