diff --git a/pkgs/development/mobile/androidenv/compose-android-packages.nix b/pkgs/development/mobile/androidenv/compose-android-packages.nix index 59c6cbaed054..5cb361afca2d 100644 --- a/pkgs/development/mobile/androidenv/compose-android-packages.nix +++ b/pkgs/development/mobile/androidenv/compose-android-packages.nix @@ -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 =