From bc96cec2952b2996c332e0916b9ad0897629dd53 Mon Sep 17 00:00:00 2001 From: Carlo Nucera Date: Thu, 2 Aug 2018 19:36:48 +0200 Subject: Add missing dependencies for swi-prolog In the previous version of this derivation, when the command ?- check_installation. was issued in the swipl prompt, five errors were encountered. This patch fixes that, so that the installation is correctly checked. This enables the usage of the command pack_install to install prolog libraries, which otherwise fails for the lack of libarchive. --- pkgs/development/compilers/swi-prolog/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pkgs/development/compilers') diff --git a/pkgs/development/compilers/swi-prolog/default.nix b/pkgs/development/compilers/swi-prolog/default.nix index 670a00e250f2..5f8bebbde3ee 100644 --- a/pkgs/development/compilers/swi-prolog/default.nix +++ b/pkgs/development/compilers/swi-prolog/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, jdk, gmp, readline, openssl, libjpeg, unixODBC, zlib -, libXinerama, libXft, libXpm, libSM, libXt, freetype, pkgconfig -, fontconfig, makeWrapper ? stdenv.isDarwin +, libXinerama, libarchive, db, pcre, libedit, libossp_uuid, libXft, libXpm +, libSM, libXt, freetype, pkgconfig, fontconfig, makeWrapper ? stdenv.isDarwin }: let @@ -15,7 +15,8 @@ stdenv.mkDerivation { }; buildInputs = [ jdk gmp readline openssl libjpeg unixODBC libXinerama - libXft libXpm libSM libXt zlib freetype pkgconfig fontconfig ] + libarchive db pcre libedit libossp_uuid libXft libXpm libSM libXt + zlib freetype pkgconfig fontconfig ] ++ stdenv.lib.optional stdenv.isDarwin makeWrapper; hardeningDisable = [ "format" ]; @@ -42,6 +43,6 @@ stdenv.mkDerivation { license = "LGPL"; platforms = stdenv.lib.platforms.unix; - maintainers = [ stdenv.lib.maintainers.peti ]; + maintainers = [ stdenv.lib.maintainers.peti stdenv.lib.maintainers.meditans ]; }; } -- cgit 1.4.1