hspell: Fix meta check

This commit is contained in:
Jan Tojnar 2019-12-31 02:32:47 +01:00
parent f6a3f5af36
commit 49e4859256
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -3,12 +3,11 @@
let
dict = variant: a: stdenv.mkDerivation ({
inherit (hspell) src patchPhase nativeBuildInputs;
buildFlags = [ variant ];
meta = hspell.meta // {
broken = true;
description = "${variant} Hebrew dictionary";
buildFlags = [ variant ];
} // (if a ? meta then a.meta else {});
} // (removeAttrs a ["meta"]));
in