about summary refs log tree commit diff
path: root/pkgs/by-name/qu/quickjs/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/qu/quickjs/package.nix')
-rw-r--r--pkgs/by-name/qu/quickjs/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/qu/quickjs/package.nix b/pkgs/by-name/qu/quickjs/package.nix
index 447f486a0914..1366fd03cd55 100644
--- a/pkgs/by-name/qu/quickjs/package.nix
+++ b/pkgs/by-name/qu/quickjs/package.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
     hash = "sha256-PEv4+JW/pUvrSGyNEhgRJ3Hs/FrDvhA2hR70FWghLgM=";
   };
 
-  postPatch = lib.optionalString stdenv.isDarwin ''
+  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Makefile --replace "CONFIG_LTO=y" ""
   '';