build-support/fetchgitlab: remove assertMsg usage
This commit is contained in:
@@ -27,9 +27,8 @@ lib.makeOverridable (
|
||||
}@args:
|
||||
|
||||
assert (
|
||||
lib.assertMsg (lib.xor (tag == null) (
|
||||
rev == null
|
||||
)) "fetchFromGitLab requires one of either `rev` or `tag` to be provided (not both)."
|
||||
lib.xor (tag == null) (rev == null)
|
||||
|| throw "fetchFromGitLab requires one of either `rev` or `tag` to be provided (not both)."
|
||||
);
|
||||
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user