build-support/fetchsourcehut: remove assertMsg usage

This commit is contained in:
Eman Resu
2026-05-26 14:12:24 -04:00
parent 23735fa051
commit 50ddf2e36a

View File

@@ -28,9 +28,8 @@ makeOverridable (
}@args:
assert (
lib.assertMsg (lib.xor (tag == null) (
rev == null
)) "fetchFromSourcehut requires one of either `rev` or `tag` to be provided (not both)."
lib.xor (tag == null) (rev == null)
|| throw "fetchFromSourcehut requires one of either `rev` or `tag` to be provided (not both)."
);
assert (