Fix relfs build

svn path=/nixpkgs/trunk/; revision=15574
This commit is contained in:
Michael Raskin 2009-05-12 16:01:38 +00:00
parent d59710a58c
commit f616199fb5

View File

@ -12,9 +12,7 @@ args : with args;
buildInputs = [ocaml fuse postgresql pcre
e2fsprogs gnomevfs pkgconfig GConf];
configureFlags = [];
};
in with localDefs;
let build = FullDepEntry ("
build = builderDefs.stringsWithDeps.fullDepEntry ("
cd deps
sed -e 's/^CPP/#&/ ; s/^# CPP=gcc/CPP=gcc/' -i Makefile.camlidl
make
@ -38,12 +36,13 @@ let build = FullDepEntry ("
ALTER TABLE obj_mimetype OWNER TO \$1;
ALTER TABLE membership OWNER TO \$1;\"' > \$out/bin/relfs_grant;
chmod a+x \$out/bin/relfs_grant;
") [minInit doUnpack addInputs];
in
") ["minInit" "doUnpack" "addInputs"];
};
in with localDefs;
stdenv.mkDerivation rec {
name = "relfs-"+version;
builder = writeScript (name + "-builder")
(textClosure localDefs [build doMakeInstall doForceShare doPropagate]);
(textClosure localDefs ["build" "doMakeInstall" "doForceShare" "doPropagate"]);
meta = {
description = "A relational filesystem on top of FUSE";
inherit src;