Revert "buildLuaPackage: throw instead of marking as broken package"

This reverts commit 0cd595cdb3.

It's causing build failures for knot-resolver and others.

Workaround for https://github.com/NixOS/nixpkgs/issues/223437
This commit is contained in:
Florian Klink 2023-03-27 22:12:35 +02:00
parent 4bb072f0a8
commit 9218f1a00c

View File

@ -213,8 +213,8 @@ let
platforms = lua.meta.platforms;
# add extra maintainer(s) to every package
maintainers = (meta.maintainers or []) ++ [ ];
broken = disabled;
} // meta;
}));
in
assert (disabled -> throw "${pname} not supported for interpreter ${lua.executable}");
luarocksDrv