Merge pull request #31628 from lheckemann/fbterm-arm

fbterm: fix build on non-x86
This commit is contained in:
Franz Pletz 2017-11-14 12:39:51 +01:00 committed by GitHub
commit 172d346ff1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;