fbterm: fix build on non-x86
This commit is contained in:
parent
9ea242c617
commit
e50745712c
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses, libx86}:
|
{stdenv, lib, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses, libx86}:
|
||||||
let
|
let
|
||||||
s = # Generated upstream information
|
s = # Generated upstream information
|
||||||
rec {
|
rec {
|
||||||
@ -9,7 +9,8 @@ let
|
|||||||
url="http://fbterm.googlecode.com/files/fbterm-1.7.0.tar.gz";
|
url="http://fbterm.googlecode.com/files/fbterm-1.7.0.tar.gz";
|
||||||
sha256="0pciv5by989vzvjxsv1jsv4bdp4m8j0nfbl29jm5fwi12w4603vj";
|
sha256="0pciv5by989vzvjxsv1jsv4bdp4m8j0nfbl29jm5fwi12w4603vj";
|
||||||
};
|
};
|
||||||
buildInputs = [gpm freetype fontconfig ncurses libx86];
|
buildInputs = [gpm freetype fontconfig ncurses]
|
||||||
|
++ lib.optional (stdenv.isi686 || stdenv.isx86_64) libx86;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
inherit (s) name version;
|
inherit (s) name version;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user