From 770e26126f988161589eb9f9d66f3aef20504928 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Thu, 16 Dec 2021 14:19:28 +0800 Subject: [PATCH] aspellDicts: fix cross compilation --- pkgs/development/libraries/aspell/dictionaries.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/aspell/dictionaries.nix b/pkgs/development/libraries/aspell/dictionaries.nix index 81f4bb6c2dce..c0d9d87aa422 100644 --- a/pkgs/development/libraries/aspell/dictionaries.nix +++ b/pkgs/development/libraries/aspell/dictionaries.nix @@ -41,10 +41,14 @@ let stdenv.mkDerivation ({ name = "aspell-dict-${shortName}"; - buildInputs = [aspell which]; + strictDeps = true; + + nativeBuildInputs = [ aspell which ]; dontAddPrefix = true; + configurePlatforms = [ ]; + preBuild = "makeFlagsArray=(dictdir=$out/lib/aspell datadir=$out/lib/aspell)"; meta = {