From 93005b82dc4f6e2f5372987005d7dffd2f1b3ea6 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Tue, 21 Mar 2017 00:42:26 -0400 Subject: [PATCH] google-gflags: fix on Darwin e721905d0f7c82be94a347f022bdd238b919de9d updated to a version that added a BUILD file that breaks on case-insensitive filesystems. --- pkgs/development/libraries/google-gflags/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/google-gflags/default.nix b/pkgs/development/libraries/google-gflags/default.nix index 0f089d16ead..1a3a1658727 100644 --- a/pkgs/development/libraries/google-gflags/default.nix +++ b/pkgs/development/libraries/google-gflags/default.nix @@ -13,6 +13,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake ]; + # This isn't used by the build and breaks the CMake build on case-insensitive filesystems (e.g., on Darwin) + preConfigure = "rm BUILD"; + cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" "-DBUILD_STATIC_LIBS=ON"