mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
build-support/appimage: remove assertMsg usage
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user