From 4d7c3b2f5f6038e8bf3ee499661d3c4ec878b6d7 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Tue, 12 Sep 2017 22:03:08 +0200 Subject: [PATCH] kyotocabinet: fix darwin build --- pkgs/development/libraries/kyotocabinet/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/kyotocabinet/default.nix b/pkgs/development/libraries/kyotocabinet/default.nix index 11388f25a99d..57eaf74d2908 100644 --- a/pkgs/development/libraries/kyotocabinet/default.nix +++ b/pkgs/development/libraries/kyotocabinet/default.nix @@ -17,7 +17,11 @@ stdenv.mkDerivation rec { --replace tr1::unordered_set std::unordered_set substituteInPlace lab/kcdict/Makefile --replace stdc++ c++ - substituteInPlace configure --replace stdc++ c++ + substituteInPlace configure \ + --replace /usr/local/bin:/usr/local/sbin: "" \ + --replace /usr/bin:/usr/sbin: "" \ + --replace /bin:/sbin: "" \ + --replace stdc++ c++ ''; patches = [(fetchurl {