about summary refs log tree commit diff
path: root/pkgs/by-name/li/librep/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/li/librep/package.nix')
-rw-r--r--pkgs/by-name/li/librep/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/li/librep/package.nix b/pkgs/by-name/li/librep/package.nix
index 84f610ce2474..373f8232a857 100644
--- a/pkgs/by-name/li/librep/package.nix
+++ b/pkgs/by-name/li/librep/package.nix
@@ -35,7 +35,7 @@ stdenv.mkDerivation (finalAttrs: {
   strictDeps = true;
 
   # ensure libsystem/ctype functions don't get duplicated when using clang
-  configureFlags = lib.optionals stdenv.isDarwin [ "CFLAGS=-std=gnu89" ];
+  configureFlags = lib.optionals stdenv.hostPlatform.isDarwin [ "CFLAGS=-std=gnu89" ];
 
   setupHook = ./setup-hook.sh;