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.
This commit is contained in:
parent
15ac0abbe6
commit
0cd595cdb3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user