blob: d23e3e05ceea7135c332b261791e510d35f34f01 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ environment ? "prod"
, varDir ? "/var/lib/chloe_${environment}"
, spip, stdenv, sassc, sources }:
let
siteDir = stdenv.mkDerivation {
version = sources.websites-chloe-app.version;
pname = "chloe";
src = sources.websites-chloe-app;
buildPhase = ''
make
'';
installPhase = ''
cp -a . $out
'';
buildInputs = [ sassc ];
};
in
spip.override {
ldap = true;
siteName = "chloe";
inherit environment siteDir varDir;
}
|