diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-12-13 21:25:24 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-24 01:40:13 +0200 |
commit | 252dd7d899b7a0deea1537cc5d2d48b825afffb0 (patch) | |
tree | f51c3c9cd7429b0b9553a840f26bee489be045bc /overlays/databases/postgresql/default.nix | |
download | NUR-252dd7d899b7a0deea1537cc5d2d48b825afffb0.tar.gz NUR-252dd7d899b7a0deea1537cc5d2d48b825afffb0.tar.zst NUR-252dd7d899b7a0deea1537cc5d2d48b825afffb0.zip |
Initial commit published for NURnur_root
Diffstat (limited to 'overlays/databases/postgresql/default.nix')
-rw-r--r-- | overlays/databases/postgresql/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/overlays/databases/postgresql/default.nix b/overlays/databases/postgresql/default.nix new file mode 100644 index 00000000..8d1405e3 --- /dev/null +++ b/overlays/databases/postgresql/default.nix | |||
@@ -0,0 +1,11 @@ | |||
1 | self: super: rec { | ||
2 | postgresql_11_custom = super.postgresql_11.overrideAttrs(old: { | ||
3 | # datadir in /var/lib/postgresql is named after psqlSchema | ||
4 | passthru = old.passthru // { psqlSchema = "11.0"; }; | ||
5 | configureFlags = old.configureFlags ++ [ "--with-pam" ]; | ||
6 | buildInputs = (old.buildInputs or []) ++ [ self.pam ]; | ||
7 | patches = old.patches ++ [ | ||
8 | ./postgresql_run_socket_path.patch | ||
9 | ]; | ||
10 | }); | ||
11 | } | ||