From 2ce4c3c8ec5268ee45f9a66c5cc9e6a6239af8f0 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Wed, 6 Apr 2022 22:19:24 +0800 Subject: [PATCH] hunspellDicts: fix cross compilation --- pkgs/development/libraries/hunspell/dictionaries.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/hunspell/dictionaries.nix b/pkgs/development/libraries/hunspell/dictionaries.nix index ffa8c5d191b9..4f520772b750 100644 --- a/pkgs/development/libraries/hunspell/dictionaries.nix +++ b/pkgs/development/libraries/hunspell/dictionaries.nix @@ -45,8 +45,7 @@ let maintainers = with maintainers; [ renzo ]; platforms = platforms.all; }; - nativeBuildInputs = [ unzip ]; - buildInputs = [ bash coreutils which zip ]; + nativeBuildInputs = [ bash coreutils which zip unzip ]; patchPhase = '' substituteInPlace ortograf/herramientas/make_dict.sh \ --replace /bin/bash bash \ @@ -234,7 +233,7 @@ let sha256 = "1a3055hp2bc4q4nlg3gmg0147p3a1zlfnc65xiv2v9pyql1nya8p"; }; - buildInputs = [ ispell perl hunspell ]; + nativeBuildInputs = [ ispell perl hunspell ]; dontBuild = true;