3
0
Fork 0
forked from mirrors/nixpkgs

lib.systems: inform isCompatible users about removal

This commit is contained in:
sternenseemann 2022-05-23 21:23:17 +02:00
parent 1f8bae43e4
commit 82c434b3de

View file

@ -38,6 +38,7 @@ rec {
canExecute = platform:
parse.isCompatible final.parsed.cpu platform.parsed.cpu
&& final.parsed.kernel == platform.parsed.kernel;
isCompatible = _: throw "2022-05-23: isCompatible has been removed in favor of canExecute, refer to the 22.11 changelog for details";
# Derived meta-data
libc =
/**/ if final.isDarwin then "libSystem"