From 3036e8628491c9471a5927ec8539e232b21361b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 15 Sep 2013 07:55:19 +0200 Subject: [PATCH] libffi on FreeBSD: remove unsupported "-r" option to ln Done without changing hashes on other platforms. Sometimes I forget that GNU's not UNIX. --- pkgs/development/libraries/libffi/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libffi/default.nix b/pkgs/development/libraries/libffi/default.nix index 7cd8972672c..9db9b801952 100644 --- a/pkgs/development/libraries/libffi/default.nix +++ b/pkgs/development/libraries/libffi/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { postInstall = # Install headers in the right place. - '' ln -srv "$out/lib/"libffi*/include "$out/include" + '' ln -s${if stdenv.isFreeBSD then "" else "r"}v "$out/lib/"libffi*/include "$out/include" ''; meta = {