diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2010-07-01 05:05:47 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2010-07-01 05:05:47 +0000 |
commit | e312c443fcf94a0e77a7a102fe35dadc1fabc107 (patch) | |
tree | 9d1e3ad85ef1873ef46cd782f75b9fddc138b7ee /pkgs/servers | |
parent | 853212def065435f3e12ace05edee3fa47792064 (diff) | |
download | nixlib-e312c443fcf94a0e77a7a102fe35dadc1fabc107.tar nixlib-e312c443fcf94a0e77a7a102fe35dadc1fabc107.tar.gz nixlib-e312c443fcf94a0e77a7a102fe35dadc1fabc107.tar.bz2 nixlib-e312c443fcf94a0e77a7a102fe35dadc1fabc107.tar.lz nixlib-e312c443fcf94a0e77a7a102fe35dadc1fabc107.tar.xz nixlib-e312c443fcf94a0e77a7a102fe35dadc1fabc107.tar.zst nixlib-e312c443fcf94a0e77a7a102fe35dadc1fabc107.zip |
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
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/http/4store/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/http/4store/default.nix b/pkgs/servers/http/4store/default.nix index 5a31bddc4334..f5a8aab98506 100644 --- a/pkgs/servers/http/4store/default.nix +++ b/pkgs/servers/http/4store/default.nix @@ -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 @@ -30,6 +32,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)"; |