summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-03-09 16:25:27 +0100
committerGitHub <noreply@github.com>2023-03-09 16:25:27 +0100
commit87af394014d51f563dade30f3f7ef55a00a3d1d6 (patch)
treeb3090b080e43d6f643123a4c8e21ed2e48edf24a
parent130fa0baaa2b93ec45523fdcde942f6844ee9f6e (diff)
parenteddb6a1b6241303c0310993294662e9347a2435d (diff)
downloadnixpkgs-87af394014d51f563dade30f3f7ef55a00a3d1d6.tar
nixpkgs-87af394014d51f563dade30f3f7ef55a00a3d1d6.tar.gz
nixpkgs-87af394014d51f563dade30f3f7ef55a00a3d1d6.tar.bz2
nixpkgs-87af394014d51f563dade30f3f7ef55a00a3d1d6.tar.lz
nixpkgs-87af394014d51f563dade30f3f7ef55a00a3d1d6.tar.xz
nixpkgs-87af394014d51f563dade30f3f7ef55a00a3d1d6.tar.zst
nixpkgs-87af394014d51f563dade30f3f7ef55a00a3d1d6.zip
Merge pull request #196484 from LuisChDev/master
hunspellDicts: fix spanish-language dictionaries
-rw-r--r--pkgs/development/libraries/hunspell/dictionaries.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix
index 09d68fa0199..17c73c118ce 100644
--- a/pkgs/development/libraries/hunspell/dictionaries.nix
+++ b/pkgs/development/libraries/hunspell/dictionaries.nix
@@ -29,14 +29,14 @@ let
     { shortName, shortDescription, dictFileName }:
     mkDict rec {
       inherit dictFileName;
-      version = "2.2";
+      version = "2.5";
       pname = "hunspell-dict-${shortName}-rla";
       readmeFile = "README.txt";
       src = fetchFromGitHub {
         owner = "sbosio";
         repo = "rla-es";
         rev = "v${version}";
-        sha256 = "0n9ms092k7vg7xpd3ksadxydbrizkb7js7dfxr08nbnnb9fgy0i8";
+        sha256 = "sha256-oGnxOGHzDogzUMZESydIxRTbq9Dmd03flwHx16AK1yk=";
       };
       meta = with lib; {
         description = "Hunspell dictionary for ${shortDescription} from rla";
@@ -46,13 +46,13 @@ let
         platforms = platforms.all;
       };
       nativeBuildInputs = [ bash coreutils which zip unzip ];
-      patchPhase = ''
+      postPatch = ''
         substituteInPlace ortograf/herramientas/make_dict.sh \
-           --replace /bin/bash bash \
+           --replace /bin/bash ${bash}/bin/bash \
            --replace /dev/stderr stderr.log
 
         substituteInPlace ortograf/herramientas/remover_comentarios.sh \
-           --replace /bin/bash bash \
+           --replace /bin/bash ${bash}/bin/bash \
       '';
       buildPhase = ''
         cd ortograf/herramientas
@@ -442,7 +442,7 @@ rec {
   es_CR = es-cr;
   es-cr = mkDictFromRla {
     shortName = "es-cr";
-    shortDescription = "Spanish (Costra Rica)";
+    shortDescription = "Spanish (Costa Rica)";
     dictFileName = "es_CR";
   };