Add a setup-hook to ocamlPackages.eliom, to look for distillery templates
This commit is contained in:
committed by
Vincent Laporte
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";
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
addOcsigenDistilleryTemplate() {
|
||||||
|
addToSearchPathWithCustomDelimiter : ELIOM_DISTILLERY_PATH $1/eliom-distillery-templates
|
||||||
|
}
|
||||||
|
|
||||||
|
envHooks+=(addOcsigenDistilleryTemplate)
|
||||||
Reference in New Issue
Block a user