diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-03-25 11:57:48 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-03 16:25:07 +0200 |
commit | 5400b9b6f65451d41a9106fae6fc00f97d83f4ef (patch) | |
tree | 6ed072da7b1f17ac3994ffea052aa0c0822f8446 /overlays | |
parent | 441da8aac378f401625e82caf281fa0e26128310 (diff) | |
download | Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.gz Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.tar.zst Nix-5400b9b6f65451d41a9106fae6fc00f97d83f4ef.zip |
Upgrade nixos
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/databases/mysql/default.nix | 6 | ||||
-rw-r--r-- | overlays/databases/postgresql/default.nix | 3 | ||||
-rw-r--r-- | overlays/default.nix | 1 | ||||
-rw-r--r-- | overlays/gitweb/default.nix | 2 | ||||
-rw-r--r-- | overlays/shaarli/default.nix | 7 | ||||
-rw-r--r-- | overlays/simp_le/default.nix | 3 |
6 files changed, 17 insertions, 5 deletions
diff --git a/overlays/databases/mysql/default.nix b/overlays/databases/mysql/default.nix index 5e40284..797332b 100644 --- a/overlays/databases/mysql/default.nix +++ b/overlays/databases/mysql/default.nix | |||
@@ -3,6 +3,12 @@ self: super: rec { | |||
3 | mariadbPAM = super.mariadb.overrideAttrs(old: { | 3 | mariadbPAM = super.mariadb.overrideAttrs(old: { |
4 | cmakeFlags = old.cmakeFlags ++ [ "-DWITH_AUTHENTICATION_PAM=ON" ]; | 4 | cmakeFlags = old.cmakeFlags ++ [ "-DWITH_AUTHENTICATION_PAM=ON" ]; |
5 | buildInputs = old.buildInputs ++ [ self.pam ]; | 5 | buildInputs = old.buildInputs ++ [ self.pam ]; |
6 | postInstall = old.postInstall + '' | ||
7 | # FIXME: hack because mariadb cannot find dialog.so | ||
8 | # fixed in 20.03: https://github.com/NixOS/nixpkgs/pull/80768 | ||
9 | ln -s /nix $out/nix | ||
10 | cp "$dev"/lib/mysql/plugin/{caching_sha2_password.so,dialog.so,mysql_clear_password.so,sha256_password.so} "$out"/lib/mysql/plugin | ||
11 | ''; | ||
6 | }) // (with super.mariadb; { | 12 | }) // (with super.mariadb; { |
7 | inherit client; | 13 | inherit client; |
8 | servier = super.mariadb; | 14 | servier = super.mariadb; |
diff --git a/overlays/databases/postgresql/default.nix b/overlays/databases/postgresql/default.nix index 8d1405e..ae58987 100644 --- a/overlays/databases/postgresql/default.nix +++ b/overlays/databases/postgresql/default.nix | |||
@@ -4,8 +4,5 @@ self: super: rec { | |||
4 | passthru = old.passthru // { psqlSchema = "11.0"; }; | 4 | passthru = old.passthru // { psqlSchema = "11.0"; }; |
5 | configureFlags = old.configureFlags ++ [ "--with-pam" ]; | 5 | configureFlags = old.configureFlags ++ [ "--with-pam" ]; |
6 | buildInputs = (old.buildInputs or []) ++ [ self.pam ]; | 6 | buildInputs = (old.buildInputs or []) ++ [ self.pam ]; |
7 | patches = old.patches ++ [ | ||
8 | ./postgresql_run_socket_path.patch | ||
9 | ]; | ||
10 | }); | 7 | }); |
11 | } | 8 | } |
diff --git a/overlays/default.nix b/overlays/default.nix index 9fd0117..b488fd7 100644 --- a/overlays/default.nix +++ b/overlays/default.nix | |||
@@ -31,5 +31,6 @@ | |||
31 | ympd = import ./ympd; | 31 | ympd = import ./ympd; |
32 | doing = import ./doing; | 32 | doing = import ./doing; |
33 | xmr-stak = import ./xmr-stak; | 33 | xmr-stak = import ./xmr-stak; |
34 | simp_le = import ./simp_le; | ||
34 | } | 35 | } |
35 | // import ./python-packages | 36 | // import ./python-packages |
diff --git a/overlays/gitweb/default.nix b/overlays/gitweb/default.nix index aa17d22..2b9c0f6 100644 --- a/overlays/gitweb/default.nix +++ b/overlays/gitweb/default.nix | |||
@@ -1,6 +1,6 @@ | |||
1 | self: super: { | 1 | self: super: { |
2 | gitweb = super.gitweb.overrideAttrs(old: { | 2 | gitweb = super.gitweb.overrideAttrs(old: { |
3 | installPhase = old.installPhase + '' | 3 | postInstall = old.postInstall or "" + '' |
4 | cp -r ${./theme} $out/gitweb-theme; | 4 | cp -r ${./theme} $out/gitweb-theme; |
5 | ''; | 5 | ''; |
6 | }); | 6 | }); |
diff --git a/overlays/shaarli/default.nix b/overlays/shaarli/default.nix index c2fb9cc..3b37ee8 100644 --- a/overlays/shaarli/default.nix +++ b/overlays/shaarli/default.nix | |||
@@ -1,5 +1,10 @@ | |||
1 | self: super: { | 1 | self: super: { |
2 | shaarli = varDir: super.shaarli.overrideAttrs (old: { | 2 | shaarli = varDir: super.shaarli.overrideAttrs (old: rec { |
3 | version = "0.10.2"; | ||
4 | src = self.fetchurl { | ||
5 | url = "https://github.com/shaarli/Shaarli/releases/download/v${version}/shaarli-v${version}-full.tar.gz"; | ||
6 | sha256 = "0h8sspj7siy3vgpi2i3gdrjcr5935fr4dfwq2zwd70sjx2sh9s78"; | ||
7 | }; | ||
3 | patchPhase = ""; | 8 | patchPhase = ""; |
4 | patches = (old.patches or []) ++ [ ./shaarli_ldap.patch ]; | 9 | patches = (old.patches or []) ++ [ ./shaarli_ldap.patch ]; |
5 | installPhase = (old.installPhase or "") + '' | 10 | installPhase = (old.installPhase or "") + '' |
diff --git a/overlays/simp_le/default.nix b/overlays/simp_le/default.nix new file mode 100644 index 0000000..76891ed --- /dev/null +++ b/overlays/simp_le/default.nix | |||
@@ -0,0 +1,3 @@ | |||
1 | self: super: { | ||
2 | simp_le = self.simp_le_0_17; | ||
3 | } | ||