diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-04-20 18:40:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 18:40:06 +0200 |
commit | abf404caaa0a2cf2992864c7ff91dbf09f7f94cd (patch) | |
tree | e545f8a4f03bab95cb5f8c16af8f6d63b26e6d13 /pkgs/development/libraries | |
parent | a1a2e89e45538774c019577b4577151a067d222d (diff) | |
parent | fe7c1cfdcc9c28ba9c154e7158c094b44d116507 (diff) |
Merge pull request #119923 from samuela/samuela/mbedtls
mbedtls: fix x86_64-darwin build
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/mbedtls/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mbedtls/default.nix b/pkgs/development/libraries/mbedtls/default.nix index 057e869452980..90e2c9bd9a735 100644 --- a/pkgs/development/libraries/mbedtls/default.nix +++ b/pkgs/development/libraries/mbedtls/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { ''; cmakeFlags = [ "-DUSE_SHARED_MBEDTLS_LIBRARY=on" ]; - NIX_CFLAGS_COMPILE = [ + NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isGNU [ "-Wno-error=format" "-Wno-error=format-truncation" ]; |