about summary refs log tree commit diff
path: root/pkgs/by-name/vl/vlc-bin/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/vl/vlc-bin/package.nix')
-rw-r--r--pkgs/by-name/vl/vlc-bin/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/vl/vlc-bin/package.nix b/pkgs/by-name/vl/vlc-bin/package.nix
index 275e768c7ea2..9e496883ccb8 100644
--- a/pkgs/by-name/vl/vlc-bin/package.nix
+++ b/pkgs/by-name/vl/vlc-bin/package.nix
@@ -4,9 +4,9 @@
 , stdenv
 , undmg
 , variant ?
-  if (stdenv.isDarwin && stdenv.isAarch64)
+  if (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64)
   then "arm64"
-  else if (stdenv.isDarwin && stdenv.isx86_64)
+  else if (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64)
   then "intel64"
   else "universal" # not reachable by normal means
 }: