about summary refs log tree commit diff
path: root/pkgs/by-name/li/libcpucycles/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/li/libcpucycles/package.nix')
-rw-r--r--pkgs/by-name/li/libcpucycles/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/li/libcpucycles/package.nix b/pkgs/by-name/li/libcpucycles/package.nix
index 4e88903de66d..84292201640b 100644
--- a/pkgs/by-name/li/libcpucycles/package.nix
+++ b/pkgs/by-name/li/libcpucycles/package.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   inherit (librandombytes) hardeningDisable configurePlatforms env;
 
-  preFixup = lib.optionalString stdenv.isDarwin ''
+  preFixup = lib.optionalString stdenv.hostPlatform.isDarwin ''
     install_name_tool -id "$out/lib/libcpucycles.1.dylib" "$out/lib/libcpucycles.1.dylib"
     install_name_tool -change "libcpucycles.1.dylib" "$out/lib/libcpucycles.1.dylib" "$out/bin/cpucycles-info"
   '';