diff options
author | Robin Gloster <mail@glob.in> | 2019-10-30 02:29:30 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2019-12-31 00:13:29 +0100 |
commit | 5f2b92e3eca8bd2d34d98e82d63783f281363f8f (patch) | |
tree | 504cc52792a07d3d674f6e8d6b3b9eadb378e3e8 /pkgs/development/libraries/gperftools | |
parent | ab0cfd9e036ca83bdffb8790f7cf45179441cd93 (diff) |
treewide: NIX_*_COMPILE -> string
Diffstat (limited to 'pkgs/development/libraries/gperftools')
-rw-r--r-- | pkgs/development/libraries/gperftools/default.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gperftools/default.nix b/pkgs/development/libraries/gperftools/default.nix index bc10c9f9bdd6f..0e98575498500 100644 --- a/pkgs/development/libraries/gperftools/default.nix +++ b/pkgs/development/libraries/gperftools/default.nix @@ -16,9 +16,8 @@ stdenv.mkDerivation rec { substituteInPlace libtool --replace stdc++ c++ ''; - NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isDarwin [ - "-D_XOPEN_SOURCE" "-Wno-aligned-allocation-unavailable" - ]; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin + "-D_XOPEN_SOURCE -Wno-aligned-allocation-unavailable"; # some packages want to link to the static tcmalloc_minimal # to drop the runtime dependency on gperftools |