about summary refs log tree commit diff
path: root/pkgs/by-name/rk/rkboot/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/rk/rkboot/package.nix')
-rw-r--r--pkgs/by-name/rk/rkboot/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/rk/rkboot/package.nix b/pkgs/by-name/rk/rkboot/package.nix
index 5cf424a43c3a..f352446e7a1b 100644
--- a/pkgs/by-name/rk/rkboot/package.nix
+++ b/pkgs/by-name/rk/rkboot/package.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
     do
       # The proprietary, statically linked binaries to perform boot_merge are
       # x86_64 only. Though we use box64 to emulate if building on aarch64-linux
-      ${lib.optionalString stdenv.isAarch64 "${qemu}/bin/qemu-x86_64"} ./tools/boot_merger "$i" || true
+      ${lib.optionalString stdenv.hostPlatform.isAarch64 "${qemu}/bin/qemu-x86_64"} ./tools/boot_merger "$i" || true
     done
   '';