mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Fix SWI-Prolog build
svn path=/nixpkgs/trunk/; revision=26407
This commit is contained in:
parent
92a26c823c
commit
36af24fc05
1 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
|||
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib, libXinerama, libXft, libXpm, libSM, libXt }:
|
||||
{ stdenv, fetchurl, gmp, readline, openssl, libjpeg, unixODBC, zlib,
|
||||
libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig,
|
||||
fontconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.10.2";
|
||||
|
@ -9,10 +11,15 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1a3ebbcd649f429a41b64561d38423692e00524c29227432d0eb5a0e24e2a4c9";
|
||||
};
|
||||
|
||||
buildInputs = [gmp readline openssl libjpeg unixODBC libXinerama libXft libXpm libSM libXt zlib];
|
||||
buildInputs = [gmp readline openssl libjpeg unixODBC libXinerama
|
||||
libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig];
|
||||
configureFlags = "--with-world --enable-gmp --enable-shared";
|
||||
makeFlags = "world";
|
||||
|
||||
preConfigure = ''
|
||||
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${freetype}/include/freetype2"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.swi-prolog.org/;
|
||||
description = "A Prolog compiler and interpreter";
|
||||
|
|
Loading…
Reference in a new issue