about summary refs log tree commit diff
path: root/pkgs/tools/misc/usbimager/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/usbimager/default.nix')
-rw-r--r--pkgs/tools/misc/usbimager/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/usbimager/default.nix b/pkgs/tools/misc/usbimager/default.nix
index 2d339fabc3f7..11a9162af2f2 100644
--- a/pkgs/tools/misc/usbimager/default.nix
+++ b/pkgs/tools/misc/usbimager/default.nix
@@ -1,6 +1,6 @@
 { lib, stdenv, fetchFromGitLab, pkg-config, wrapGAppsHook3
 , withLibui ? true, gtk3
-, withUdisks ? stdenv.isLinux, udisks, glib
+, withUdisks ? stdenv.hostPlatform.isLinux, udisks, glib
 , libX11 }:
 
 stdenv.mkDerivation rec {
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
     # feel free add them if you have a machine to test
     platforms = with platforms; linux;
     # never built on aarch64-linux since first introduction in nixpkgs
-    broken = stdenv.isLinux && stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
     mainProgram = "usbimager";
   };
 }