about summary refs log tree commit diff
path: root/pkgs/by-name/va/vale-ls/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/va/vale-ls/package.nix')
-rw-r--r--pkgs/by-name/va/vale-ls/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/va/vale-ls/package.nix b/pkgs/by-name/va/vale-ls/package.nix
index a6a84d4a2ce08..0a09952d51afa 100644
--- a/pkgs/by-name/va/vale-ls/package.nix
+++ b/pkgs/by-name/va/vale-ls/package.nix
@@ -28,14 +28,14 @@ rustPlatform.buildRustPackage rec {
 
   buildInputs = [
     openssl
-  ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [
     SystemConfiguration
   ]);
 
   checkFlags = [
     # The following tests are reaching to the network.
     "--skip=vale::tests"
-  ] ++ lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
+  ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [
     # This test does not account for the existence of aarch64-linux machines,
     # despite upstream shipping artifacts for that architecture
     "--skip=utils::tests::arch"