about summary refs log tree commit diff
path: root/pkgs/by-name/es/espflash/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/es/espflash/package.nix')
-rw-r--r--pkgs/by-name/es/espflash/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/es/espflash/package.nix b/pkgs/by-name/es/espflash/package.nix
index 2b6baaf48e9f..aad2b117ebb4 100644
--- a/pkgs/by-name/es/espflash/package.nix
+++ b/pkgs/by-name/es/espflash/package.nix
@@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec {
   # Needed to get openssl-sys to use pkg-config.
   OPENSSL_NO_VENDOR = 1;
 
-  buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [
+  buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     udev
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     CoreServices
     Security
     SystemConfiguration