summaryrefslogtreecommitdiff
path: root/overlays/shaarli/default.nix
blob: c2fb9cce46b0e3d1ca0ef69aea05da07652a4c69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
self: super: {
  shaarli = varDir: super.shaarli.overrideAttrs (old: {
    patchPhase = "";
    patches = (old.patches or []) ++ [ ./shaarli_ldap.patch ];
    installPhase = (old.installPhase or "") + ''
      cp .htaccess $out/
      ln -sf ${varDir}/{cache,pagecache,tmp,data} $out/
      '';
  });
}