fbterm: fix build on non-x86

This commit is contained in:
Linus Heckemann 2017-11-13 20:50:28 +00:00
parent 9ea242c617
commit e50745712c

View File

@ -1,4 +1,4 @@
{stdenv, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses, libx86}:
{stdenv, lib, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses, libx86}:
let
s = # Generated upstream information
rec {
@ -9,7 +9,8 @@ let
url="http://fbterm.googlecode.com/files/fbterm-1.7.0.tar.gz";
sha256="0pciv5by989vzvjxsv1jsv4bdp4m8j0nfbl29jm5fwi12w4603vj";
};
buildInputs = [gpm freetype fontconfig ncurses libx86];
buildInputs = [gpm freetype fontconfig ncurses]
++ lib.optional (stdenv.isi686 || stdenv.isx86_64) libx86;
in
stdenv.mkDerivation {
inherit (s) name version;