Fixing interpreter paths in the end. Note that 4s-dump needs Perl Net::HTTP package that Nixpkgs apparently lack
svn path=/nixpkgs/trunk/; revision=22435
This commit is contained in:
parent
853212def0
commit
e312c443fc
@ -3,6 +3,7 @@ x@{builderDefsPackage
|
||||
glib, libxml2, pcre, avahi,
|
||||
readline, ncurses, expat,
|
||||
zlib, pkgconfig, which,
|
||||
perl,
|
||||
db_dir ? "/var/lib/4store"
|
||||
, ...}:
|
||||
builderDefsPackage
|
||||
@ -21,7 +22,8 @@ rec {
|
||||
inherit buildInputs;
|
||||
|
||||
/* doConfigure should be removed if not needed */
|
||||
phaseNames = ["doFixConfigure" "doConfigure" "doMakeInstall"];
|
||||
phaseNames = ["doFixConfigure" "doConfigure" "doMakeInstall"
|
||||
"fixInterpreter"];
|
||||
|
||||
doFixConfigure = a.fullDepEntry ''
|
||||
sed -e 's@#! */bin/bash@#! ${a.stdenv.shell}@' -i configure
|
||||
@ -31,6 +33,8 @@ rec {
|
||||
sed -e 's@/var/lib/4store@${db_dir}@g' -i src/common/params.h src/utilities/*
|
||||
'' ["minInit" "doUnpack"];
|
||||
|
||||
fixInterpreter = (a.doPatchShebangs "$out/bin");
|
||||
|
||||
meta = {
|
||||
description = "SparQL query server (RDF storage)";
|
||||
maintainers = with a.lib.maintainers;
|
||||
|
@ -5758,7 +5758,7 @@ let
|
||||
|
||||
rdf4store = import ../servers/http/4store {
|
||||
inherit builderDefsPackage librdf_raptor librdf_rasqal libxml2
|
||||
pcre avahi readline ncurses expat zlib pkgconfig which;
|
||||
pcre avahi readline ncurses expat zlib pkgconfig which perl;
|
||||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user