summary refs log tree commit diff
path: root/pkgs/development/libraries/botan
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2023-02-06 21:49:02 +0100
committerFelix Buehler <account@buehler.rocks>2023-02-13 21:52:34 +0100
commitcdb39a86e0dd7cda3a057f4f4795485a5c9b9be5 (patch)
tree1fef6e55f39dab2289b68b68972ee4c9b89520f7 /pkgs/development/libraries/botan
parent7f610b4d3f6e6f695b1f5521862066c0ece79a5a (diff)
downloadnixpkgs-cdb39a86e0dd7cda3a057f4f4795485a5c9b9be5.tar
nixpkgs-cdb39a86e0dd7cda3a057f4f4795485a5c9b9be5.tar.gz
nixpkgs-cdb39a86e0dd7cda3a057f4f4795485a5c9b9be5.tar.bz2
nixpkgs-cdb39a86e0dd7cda3a057f4f4795485a5c9b9be5.tar.lz
nixpkgs-cdb39a86e0dd7cda3a057f4f4795485a5c9b9be5.tar.xz
nixpkgs-cdb39a86e0dd7cda3a057f4f4795485a5c9b9be5.tar.zst
nixpkgs-cdb39a86e0dd7cda3a057f4f4795485a5c9b9be5.zip
treewide: use optionalString
Diffstat (limited to 'pkgs/development/libraries/botan')
-rw-r--r--pkgs/development/libraries/botan/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/botan/generic.nix b/pkgs/development/libraries/botan/generic.nix
index 71ac20c4f31..1c5126584c2 100644
--- a/pkgs/development/libraries/botan/generic.nix
+++ b/pkgs/development/libraries/botan/generic.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
     ++ lib.optionals stdenv.isDarwin [ CoreServices Security ];
 
   configurePhase = ''
-    python configure.py --prefix=$out --with-bzip2 --with-zlib ${extraConfigureFlags}${if stdenv.cc.isClang then " --cc=clang" else "" }
+    python configure.py --prefix=$out --with-bzip2 --with-zlib ${extraConfigureFlags}${lib.optionalString stdenv.cc.isClang " --cc=clang"}
   '';
 
   enableParallelBuilding = true;