tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
fbterm: fix build on non-x86
Linus Heckemann
8 years ago
e5074571
9ea242c6
+3
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
fbterm
default.nix
+3
-2
pkgs/os-specific/linux/fbterm/default.nix
···
1
1
-
{stdenv, fetchurl, gpm, freetype, fontconfig, pkgconfig, ncurses, libx86}:
1
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
12
-
buildInputs = [gpm freetype fontconfig ncurses libx86];
12
12
+
buildInputs = [gpm freetype fontconfig ncurses]
13
13
+
++ lib.optional (stdenv.isi686 || stdenv.isx86_64) libx86;
13
14
in
14
15
stdenv.mkDerivation {
15
16
inherit (s) name version;