diff options
| author | soyouzpanda <soyouzpanda@soyouzpanda.fr> | 2025-12-23 13:46:24 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-01-17 13:35:13 +0000 |
| commit | 0c1476e56fc351d8eb28ee3af1f4b2a21cdaddc9 (patch) | |
| tree | 0682339f993e489cbd4c184d1de1bd5768082809 | |
| parent | 6a14ef8b9580254bedd7907ece6bf2c09a549e56 (diff) | |
lasuite-docs: 4.1.0 -> 4.2.0
https://github.com/suitenumerique/docs/releases/tag/v4.2.0
https://github.com/suitenumerique/docs/compare/v4.1.0...v4.2.0
(cherry picked from commit 61eb86f9103307e847a0d5127c999b6deac710c2)
| -rw-r--r-- | pkgs/by-name/la/lasuite-docs/package.nix | 6 | ||||
| -rw-r--r-- | pkgs/by-name/la/lasuite-docs/postgresql_fix.patch | 27 |
2 files changed, 31 insertions, 2 deletions
diff --git a/pkgs/by-name/la/lasuite-docs/package.nix b/pkgs/by-name/la/lasuite-docs/package.nix index d78fd1a44b7d..adb7060169d8 100644 --- a/pkgs/by-name/la/lasuite-docs/package.nix +++ b/pkgs/by-name/la/lasuite-docs/package.nix @@ -17,12 +17,12 @@ let }; }; - version = "4.1.0"; + version = "4.2.0"; src = fetchFromGitHub { owner = "suitenumerique"; repo = "docs"; tag = "v${version}"; - hash = "sha256-vZkqHlZ1aDOXcrdyV8BXmI95AmMalXOuVLS9XWB/YxU="; + hash = "sha256-BQ2vJIEXS51dBkqdmKUuLB6hM8QRJW0zVDayYt8Pe+w="; }; mail-templates = stdenv.mkDerivation { @@ -58,6 +58,8 @@ python.pkgs.buildPythonApplication rec { patches = [ # Support configuration throught environment variables for SECURE_* ./secure_settings.patch + # Fix creation of unsafe C function in postgresql migrations + ./postgresql_fix.patch ]; build-system = with python.pkgs; [ setuptools ]; diff --git a/pkgs/by-name/la/lasuite-docs/postgresql_fix.patch b/pkgs/by-name/la/lasuite-docs/postgresql_fix.patch new file mode 100644 index 000000000000..562251015410 --- /dev/null +++ b/pkgs/by-name/la/lasuite-docs/postgresql_fix.patch @@ -0,0 +1,27 @@ +From 49c6138eab0a37d062c5e7d936535d1832b3e031 Mon Sep 17 00:00:00 2001 +From: soyouzpanda <soyouzpanda@soyouzpanda.fr> +Date: Tue, 23 Dec 2025 19:43:50 +0100 +Subject: [PATCH] fix: disable postgresql C function creation + +--- + core/migrations/0027_auto_20251120_0956.py | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/core/migrations/0027_auto_20251120_0956.py b/core/migrations/0027_auto_20251120_0956.py +index fe795ff5..0db2090c 100644 +--- a/core/migrations/0027_auto_20251120_0956.py ++++ b/core/migrations/0027_auto_20251120_0956.py +@@ -11,11 +11,6 @@ class Migration(migrations.Migration): + operations = [ + migrations.RunSQL( + sql=""" +- CREATE OR REPLACE FUNCTION public.immutable_unaccent(regdictionary, text) +- RETURNS text +- LANGUAGE c IMMUTABLE PARALLEL SAFE STRICT AS +- '$libdir/unaccent', 'unaccent_dict'; +- + CREATE OR REPLACE FUNCTION public.f_unaccent(text) + RETURNS text + LANGUAGE sql IMMUTABLE PARALLEL SAFE STRICT +-- +2.50.1 |
