Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

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

authored by Florent Becker and committed by Vincent Laporte ac87d9ba addffa41

+7
+2
pkgs/development/ocaml-modules/eliom/default.nix
··· 30 30 31 31 createFindlibDestdir = true; 32 32 33 + setupHook = [ ./setup-hook.sh ]; 34 + 33 35 meta = { 34 36 homepage = http://ocsigen.org/eliom/; 35 37 description = "Ocaml Framework for programming Web sites and client/server Web applications";
+5
pkgs/development/ocaml-modules/eliom/setup-hook.sh
··· 1 + addOcsigenDistilleryTemplate() { 2 + addToSearchPathWithCustomDelimiter : ELIOM_DISTILLERY_PATH $1/eliom-distillery-templates 3 + } 4 + 5 + envHooks+=(addOcsigenDistilleryTemplate)