about summary refs log tree commit diff
path: root/pkgs/development/libraries/x265/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/x265/default.nix')
-rw-r--r--pkgs/development/libraries/x265/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/x265/default.nix b/pkgs/development/libraries/x265/default.nix
index 8e16ca72e003..a436a59aead7 100644
--- a/pkgs/development/libraries/x265/default.nix
+++ b/pkgs/development/libraries/x265/default.nix
@@ -10,14 +10,14 @@
 , numactl
 
   # Multi bit-depth support (8bit+10bit+12bit):
-, multibitdepthSupport ? (stdenv.is64bit && !(stdenv.isAarch64 && stdenv.isLinux))
+, multibitdepthSupport ? (stdenv.hostPlatform.is64bit && !(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux))
 
   # Other options:
 , cliSupport ? true # Build standalone CLI application
 , custatsSupport ? false # Internal profiling of encoder work
 , debugSupport ? false # Run-time sanity checks (debugging)
 , ppaSupport ? false # PPA profiling instrumentation
-, unittestsSupport ? stdenv.isx86_64 # Unit tests - only testing x64 assembly
+, unittestsSupport ? stdenv.hostPlatform.isx86_64 # Unit tests - only testing x64 assembly
 , vtuneSupport ? false # Vtune profiling instrumentation
 , werrorSupport ? false # Warnings as errors
 }: