about summary refs log tree commit diff
path: root/pkgs/development/libraries/x264
diff options
context:
space:
mode:
authorRyan Burns <rtburns@protonmail.com>2021-11-20 17:50:41 -0800
committerRyan Burns <rtburns@protonmail.com>2021-11-20 17:50:41 -0800
commit2175b157acf1fd338021bc162ec7c4d6d7f90306 (patch)
tree42240c01e72f022fd6d3bb2664960745e9ff757a /pkgs/development/libraries/x264
parent6aded65e28c8805bfb81e6b5fc1613633480eb16 (diff)
treewide: refactor isi686 && isx86_64 -> isx86
Diffstat (limited to 'pkgs/development/libraries/x264')
-rw-r--r--pkgs/development/libraries/x264/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/x264/default.nix b/pkgs/development/libraries/x264/default.nix
index 57d0c0a4d6328..2c9f476313ecc 100644
--- a/pkgs/development/libraries/x264/default.nix
+++ b/pkgs/development/libraries/x264/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
     ++ lib.optional (!stdenv.isi686) "--enable-pic"
     ++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "--cross-prefix=${stdenv.cc.targetPrefix}";
 
-  nativeBuildInputs = lib.optional (stdenv.hostPlatform.isx86_64 || stdenv.hostPlatform.isi686) nasm;
+  nativeBuildInputs = lib.optional stdenv.hostPlatform.isx86 nasm;
 
   meta = with lib; {
     description = "Library for encoding H264/AVC video streams";