about summary refs log tree commit diff
path: root/pkgs/by-name/un/unimap/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/un/unimap/package.nix')
-rw-r--r--pkgs/by-name/un/unimap/package.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/un/unimap/package.nix b/pkgs/by-name/un/unimap/package.nix
index 7563c1f50535..eafe26962cec 100644
--- a/pkgs/by-name/un/unimap/package.nix
+++ b/pkgs/by-name/un/unimap/package.nix
@@ -30,16 +30,16 @@ rustPlatform.buildRustPackage rec {
   nativeBuildInputs = [
     installShellFiles
     makeBinaryWrapper
-  ] ++ lib.optionals (stdenv.hostPlatform.isAarch && stdenv.isLinux) [
+  ] ++ lib.optionals (stdenv.hostPlatform.isAarch && stdenv.hostPlatform.isLinux) [
     pkg-config
   ];
 
   # only depends on openssl on aarch/arm linux
-  buildInputs = lib.optionals (stdenv.hostPlatform.isAarch && stdenv.isLinux) [
+  buildInputs = lib.optionals (stdenv.hostPlatform.isAarch && stdenv.hostPlatform.isLinux) [
     openssl
   ];
 
-  env = lib.optionalAttrs (stdenv.hostPlatform.isAarch && stdenv.isLinux) {
+  env = lib.optionalAttrs (stdenv.hostPlatform.isAarch && stdenv.hostPlatform.isLinux) {
     OPENSSL_NO_VENDOR = true;
   };