build-support/appimage: remove assertMsg usage

This commit is contained in:
Eman Resu
2026-05-26 14:09:35 -04:00
parent 5f1d3185c9
commit f7f010d75a

View File

@@ -39,9 +39,9 @@ rec {
src,
...
}:
assert lib.assertMsg (
assert
name == null
) "The `name` argument is deprecated. Use `pname` and `version` instead to construct the name.";
|| throw "The `name` argument is deprecated. Use `pname` and `version` instead to construct the name.";
pkgs.runCommand "${pname}-${version}-extracted"
{
nativeBuildInputs = [ appimage-exec ];