about summary refs log tree commit diff
path: root/pkgs/development/libraries/ffmpeg
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-10 00:57:52 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-10 01:37:31 -0400
commita02be2bd85b37ed8b257e969d9439357844baa24 (patch)
tree5dd1c59168e51b84ced74122fe9d7e14f3e7a2d3 /pkgs/development/libraries/ffmpeg
parenta31984ecdaf7b011163c3c71679eb285d951d735 (diff)
downloadnixlib-a02be2bd85b37ed8b257e969d9439357844baa24.tar
nixlib-a02be2bd85b37ed8b257e969d9439357844baa24.tar.gz
nixlib-a02be2bd85b37ed8b257e969d9439357844baa24.tar.bz2
nixlib-a02be2bd85b37ed8b257e969d9439357844baa24.tar.lz
nixlib-a02be2bd85b37ed8b257e969d9439357844baa24.tar.xz
nixlib-a02be2bd85b37ed8b257e969d9439357844baa24.tar.zst
nixlib-a02be2bd85b37ed8b257e969d9439357844baa24.zip
treewide: Get rid of `*Platform.arch`
Use `parsed.cpu.name` or `platform.gcc.arch` instead.
Diffstat (limited to 'pkgs/development/libraries/ffmpeg')
-rw-r--r--pkgs/development/libraries/ffmpeg/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix
index 4a05eab87bd7..530639d757de 100644
--- a/pkgs/development/libraries/ffmpeg/generic.nix
+++ b/pkgs/development/libraries/ffmpeg/generic.nix
@@ -176,7 +176,7 @@ stdenv.mkDerivation rec {
       "--cross-prefix=${stdenv.cc.targetPrefix}"
       "--enable-cross-compile"
       "--target_os=${hostPlatform.parsed.kernel.name}"
-      "--arch=${hostPlatform.arch}"
+      "--arch=${hostPlatform.parsed.cpu.name}"
     ];
   };