androidenv: compose-android-packages: remove null synonym to if-supported

This commit is contained in:
Morgan Jones
2025-03-29 22:13:03 +05:30
committed by Masum Reza
parent 9569ad4b57
commit 77af3a074d
@@ -244,14 +244,14 @@ let
true
else if check == false then
false
else if check == null || check == "if-supported" then
else if check == "if-supported" then
let
hasSrc =
package: package.src != null && (builtins.isList package.src -> builtins.length package.src > 0);
in
packages != [ ] && lib.all hasSrc packages
else
throw "Invalid argument ${toString check}; use true, false, or null/if-supported";
throw "Invalid argument ${toString check}; use true, false, or if-supported";
# Function that automatically links all plugins for which multiple versions can coexist
linkPlugins =