mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
build-support/dart: remove assertMsg usage
This commit is contained in:
@@ -94,8 +94,9 @@ let
|
||||
|
||||
mkPathDependencySource =
|
||||
name: details:
|
||||
assert lib.assertMsg details.description.relative
|
||||
"Only relative paths are supported - ${name} has an absolue path!";
|
||||
assert
|
||||
details.description.relative
|
||||
|| throw "Only relative paths are supported - ${name} has an absolue path!";
|
||||
(
|
||||
if lib.isDerivation src then
|
||||
src
|
||||
|
||||
Reference in New Issue
Block a user