aboutsummaryrefslogtreecommitdiff
path: root/pkgs/private/webapps/chloe/default.nix
blob: f148d4b0f753aa395312219040bcb4aa233a6a49 (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;
}