aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/chloe/app/default.nix
blob: 92a5e421a71096fc1d680dfce7ae8afd161c091f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ environment ? "prod"
, varDir ? "/var/lib/chloe_${environment}"
, spip, stdenv, mylibs, sassc }:
let
  siteDir = stdenv.mkDerivation (mylibs.fetchedGitPrivate ./chloe.json // rec {
    buildPhase = ''
      make
      '';
    installPhase = ''
      cp -a . $out
      '';
    buildInputs = [ sassc ];
  });
in
spip.override {
  ldap = true;
  siteName = "chloe";
  inherit environment siteDir varDir;
}