From 23735fa051b8f2e8b6501a3f456e4dda126acd43 Mon Sep 17 00:00:00 2001 From: Eman Resu <78693624+quatquatt@users.noreply.github.com> Date: Tue, 26 May 2026 14:12:11 -0400 Subject: [PATCH] build-support/fetchradiclepatch: remove assertMsg usage --- pkgs/build-support/fetchradiclepatch/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/build-support/fetchradiclepatch/default.nix b/pkgs/build-support/fetchradiclepatch/default.nix index 22f9ea6c4817..7258d1557a41 100644 --- a/pkgs/build-support/fetchradiclepatch/default.nix +++ b/pkgs/build-support/fetchradiclepatch/default.nix @@ -12,9 +12,8 @@ lib.makeOverridable ( ... }@args: - assert lib.assertMsg ( - !args ? rev && !args ? tag - ) "fetchRadiclePatch does not accept `rev` or `tag` arguments."; + assert + (!args ? rev && !args ? tag) || throw "fetchRadiclePatch does not accept `rev` or `tag` arguments."; fetchFromRadicle ( {