about summary refs log tree commit diff
path: root/pkgs/by-name/li/libtapi/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/li/libtapi/package.nix')
-rw-r--r--pkgs/by-name/li/libtapi/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/li/libtapi/package.nix b/pkgs/by-name/li/libtapi/package.nix
index b11de1756c90..0e4f3db7611e 100644
--- a/pkgs/by-name/li/libtapi/package.nix
+++ b/pkgs/by-name/li/libtapi/package.nix
@@ -97,7 +97,7 @@ stdenv.mkDerivation (finalAttrs: {
       substituteInPlace tapi/test/CMakeLists.txt \
         --replace-fail tapi-configs ""
     ''
-    + lib.optionalString stdenv.isLinux ''
+    + lib.optionalString stdenv.hostPlatform.isLinux ''
       # Remove Darwin-specific versioning flags.
       substituteInPlace tapi/tools/libtapi/CMakeLists.txt \
           --replace-fail '-current_version ''${DYLIB_VERSION} -compatibility_version 1' ""