fbterm: fix build on non-x86

+3 -2
+3 -2
pkgs/os-specific/linux/fbterm/default.nix
··· 1 - {stdenv, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses, libx86}: 1 + {stdenv, lib, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses, libx86}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 9 9 url="http://fbterm.googlecode.com/files/fbterm-1.7.0.tar.gz"; 10 10 sha256="0pciv5by989vzvjxsv1jsv4bdp4m8j0nfbl29jm5fwi12w4603vj"; 11 11 }; 12 - buildInputs = [gpm freetype fontconfig ncurses libx86]; 12 + buildInputs = [gpm freetype fontconfig ncurses] 13 + ++ lib.optional (stdenv.isi686 || stdenv.isx86_64) libx86; 13 14 in 14 15 stdenv.mkDerivation { 15 16 inherit (s) name version;