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;
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
setupHook = [ ./setup-hook.sh ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://ocsigen.org/eliom/;
|
homepage = http://ocsigen.org/eliom/;
|
||||||
description = "Ocaml Framework for programming Web sites and client/server Web applications";
|
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…
x
Reference in New Issue
Block a user