about summary refs log tree commit diff
path: root/pkgs/development/libraries/zeroc-ice/3.6.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/zeroc-ice/3.6.nix')
-rw-r--r--pkgs/development/libraries/zeroc-ice/3.6.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/zeroc-ice/3.6.nix b/pkgs/development/libraries/zeroc-ice/3.6.nix
index 896973e32eb8..725af51487c8 100644
--- a/pkgs/development/libraries/zeroc-ice/3.6.nix
+++ b/pkgs/development/libraries/zeroc-ice/3.6.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
     sourceRoot=$sourceRoot/cpp
   '';
 
-  prePatch = lib.optional stdenv.isDarwin ''
+  prePatch = lib.optionalString stdenv.isDarwin ''
     substituteInPlace config/Make.rules.Darwin \
         --replace xcrun ""
   '';