diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2022-05-09 15:23:26 -0500 |
---|---|---|
committer | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2022-05-09 15:45:26 -0500 |
commit | 3ece875b6007e383428aea745429f3ef8cbe3fff (patch) | |
tree | cd9d9c53125013aea9bfd55744ea46343ba4b519 /pkgs/tools/misc/recutils | |
parent | d97854619f390961a86ecde68f63d40c88eb400b (diff) | |
download | nixpkgs-3ece875b6007e383428aea745429f3ef8cbe3fff.tar nixpkgs-3ece875b6007e383428aea745429f3ef8cbe3fff.tar.gz nixpkgs-3ece875b6007e383428aea745429f3ef8cbe3fff.tar.bz2 nixpkgs-3ece875b6007e383428aea745429f3ef8cbe3fff.tar.lz nixpkgs-3ece875b6007e383428aea745429f3ef8cbe3fff.tar.xz nixpkgs-3ece875b6007e383428aea745429f3ef8cbe3fff.tar.zst nixpkgs-3ece875b6007e383428aea745429f3ef8cbe3fff.zip |
recutils: disable Clang "format" hardening
Remove the -Werror=format-security compiler option when using Clang, because recutils does not build with it enabled.
Diffstat (limited to 'pkgs/tools/misc/recutils')
-rw-r--r-- | pkgs/tools/misc/recutils/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/recutils/default.nix b/pkgs/tools/misc/recutils/default.nix index 972b60d3649..0299cf38218 100644 --- a/pkgs/tools/misc/recutils/default.nix +++ b/pkgs/tools/misc/recutils/default.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation rec { hash = "sha256-YwFZKwAgwUtFZ1fvXUNNSfYCe45fOkmdEzYvIFxIbg4="; }; + hardeningDisable = lib.optional stdenv.cc.isClang "format"; + buildInputs = [ curl ]; |