mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
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
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user