Add a setup-hook to ocamlPackages.eliom, to look for distillery templates
This commit is contained in:
parent
addffa41b4
commit
ac87d9ba8b
@ -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";
|
||||
|
5
pkgs/development/ocaml-modules/eliom/setup-hook.sh
Normal file
5
pkgs/development/ocaml-modules/eliom/setup-hook.sh
Normal file
@ -0,0 +1,5 @@
|
||||
addOcsigenDistilleryTemplate() {
|
||||
addToSearchPathWithCustomDelimiter : ELIOM_DISTILLERY_PATH $1/eliom-distillery-templates
|
||||
}
|
||||
|
||||
envHooks+=(addOcsigenDistilleryTemplate)
|
Loading…
Reference in New Issue
Block a user