about summary refs log tree commit diff
path: root/pkgs/by-name/cb/cbftp/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/cb/cbftp/package.nix')
-rw-r--r--pkgs/by-name/cb/cbftp/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/cb/cbftp/package.nix b/pkgs/by-name/cb/cbftp/package.nix
index 5709acb02ddb..73e11f27b277 100644
--- a/pkgs/by-name/cb/cbftp/package.nix
+++ b/pkgs/by-name/cb/cbftp/package.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
 
   dontConfigure = true;
 
-  makeFlags = lib.optional stdenv.isDarwin "OPTFLAGS=-O0";
+  makeFlags = lib.optional stdenv.hostPlatform.isDarwin "OPTFLAGS=-O0";
 
   installPhase = ''
     runHook preInstall