mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
build-support/fetchgitiles: remove assertMsg usage
This commit is contained in:
@@ -14,9 +14,8 @@ lib.makeOverridable (
|
||||
}@args:
|
||||
|
||||
assert (
|
||||
lib.assertMsg (lib.xor (tag == null) (
|
||||
rev == null
|
||||
)) "fetchFromGitiles requires one of either `rev` or `tag` to be provided (not both)."
|
||||
lib.xor (tag == null) (rev == null)
|
||||
|| throw "fetchFromGitiles requires one of either `rev` or `tag` to be provided (not both)."
|
||||
);
|
||||
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user