about summary refs log tree commit diff
path: root/pkgs/development/libraries/xed/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/xed/default.nix')
-rw-r--r--pkgs/development/libraries/xed/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/xed/default.nix b/pkgs/development/libraries/xed/default.nix
index 1fb634a80b90..2918ae7f3fe8 100644
--- a/pkgs/development/libraries/xed/default.nix
+++ b/pkgs/development/libraries/xed/default.nix
@@ -25,7 +25,7 @@ in stdenv.mkDerivation rec {
     sha256 = "sha256-LF4iJ1/Z3OifCiir/kU3ufZqtiRLeaJeAwuBqP2BCF4=";
   };
 
-  nativeBuildInputs = [ mbuild ] ++ lib.optionals stdenv.isDarwin [ llvmPackages.bintools ];
+  nativeBuildInputs = [ mbuild ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.bintools ];
 
   buildPhase = ''
     patchShebangs mfile.py
@@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
   dontInstall = true; # already installed during buildPhase
 
   meta = with lib; {
-    broken = stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isAarch64;
     description = "Intel X86 Encoder Decoder (Intel XED)";
     homepage    = "https://intelxed.github.io/";
     license     = licenses.asl20;