diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2023-03-06 16:41:54 +0100 |
---|---|---|
committer | Matthieu Coudron <teto@users.noreply.github.com> | 2023-03-26 01:45:24 +0100 |
commit | 0cd595cdb3b4f39ef5b903b64b45534ea9bc63ff (patch) | |
tree | 52398e15324b4273b6cc42a5242a04c9a86afe3c /pkgs/development/interpreters/lua-5 | |
parent | 15ac0abbe677a7c9e1f2a255bf93889701eabb06 (diff) |
buildLuaPackage: throw instead of marking as broken package
hopefully makes the output of nixpkgs-review more sensible. Lua package sets are different and it makes more sense than for other languages for packages to not be supported in specific package sets.
Diffstat (limited to 'pkgs/development/interpreters/lua-5')
-rw-r--r-- | pkgs/development/interpreters/lua-5/build-lua-package.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix index c86e71ad366b1..e323d74a26bba 100644 --- a/pkgs/development/interpreters/lua-5/build-lua-package.nix +++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix @@ -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 |