From 1b34f4095e0229163d787b8013e70174ca3fe6d2 Mon Sep 17 00:00:00 2001 From: Johannes 'fish' Ziemke Date: Wed, 22 Jun 2016 18:35:28 +0200 Subject: [PATCH] pcre: Fix postFixup script So far the shell globbing only resolved properly on linux. --- pkgs/development/libraries/pcre/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/pcre/default.nix b/pkgs/development/libraries/pcre/default.nix index c56eef31961d..7b43845d23f7 100644 --- a/pkgs/development/libraries/pcre/default.nix +++ b/pkgs/development/libraries/pcre/default.nix @@ -41,7 +41,7 @@ in stdenv.mkDerivation rec { moveToOutput bin/pcre-config "$dev" '' + optionalString (variant != null) '' - ln -sf -t "$out/lib/" '${pcre.out}'/lib/libpcre{,posix}.so.*.*.* + ln -sf -t "$out/lib/" '${pcre.out}'/lib/libpcre{,posix}.{so.*.*.*,*dylib} ''; crossAttrs = optionalAttrs (stdenv.cross.libc == "msvcrt") {