diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 01:40:40 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-06 01:40:40 +0200 |
commit | bee035b7eb4dfe65f9787ae85beb46cec33a5c2f (patch) | |
tree | 3b9711f219ea52a3cbdfe8923873b7c5c1a4fb04 /overlays/shaarli/default.nix | |
parent | 521a721dbf22bc65dfb61d899354c32ebb1fd8ae (diff) | |
download | Nix-bee035b7eb4dfe65f9787ae85beb46cec33a5c2f.tar.gz Nix-bee035b7eb4dfe65f9787ae85beb46cec33a5c2f.tar.zst Nix-bee035b7eb4dfe65f9787ae85beb46cec33a5c2f.zip |
Move Shaarli package to overlays
Diffstat (limited to 'overlays/shaarli/default.nix')
-rw-r--r-- | overlays/shaarli/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/overlays/shaarli/default.nix b/overlays/shaarli/default.nix new file mode 100644 index 0000000..c2fb9cc --- /dev/null +++ b/overlays/shaarli/default.nix | |||
@@ -0,0 +1,10 @@ | |||
1 | self: super: { | ||
2 | shaarli = varDir: super.shaarli.overrideAttrs (old: { | ||
3 | patchPhase = ""; | ||
4 | patches = (old.patches or []) ++ [ ./shaarli_ldap.patch ]; | ||
5 | installPhase = (old.installPhase or "") + '' | ||
6 | cp .htaccess $out/ | ||
7 | ln -sf ${varDir}/{cache,pagecache,tmp,data} $out/ | ||
8 | ''; | ||
9 | }); | ||
10 | } | ||