Add a setup-hook to ocamlPackages.eliom, to look for distillery templates

This commit is contained in:
Florent Becker 2017-03-18 21:15:27 +01:00 committed by Vincent Laporte
parent addffa41b4
commit ac87d9ba8b
2 changed files with 7 additions and 0 deletions

View File

@ -30,6 +30,8 @@ stdenv.mkDerivation rec
createFindlibDestdir = true;
setupHook = [ ./setup-hook.sh ];
meta = {
homepage = http://ocsigen.org/eliom/;
description = "Ocaml Framework for programming Web sites and client/server Web applications";

View File

@ -0,0 +1,5 @@
addOcsigenDistilleryTemplate() {
addToSearchPathWithCustomDelimiter : ELIOM_DISTILLERY_PATH $1/eliom-distillery-templates
}
envHooks+=(addOcsigenDistilleryTemplate)