libical: fix introspection default

This is the same default used across Nixpkgs, and fixes it trying to
use introspection in static builds.

+4 -2
+4 -2
pkgs/by-name/li/libical/package.nix
··· 3 3 stdenv, 4 4 fetchFromGitHub, 5 5 pkgsBuildBuild, 6 - pkgsBuildHost, 7 6 cmake, 8 7 glib, 9 8 icu, ··· 15 14 python3, 16 15 tzdata, 17 16 fixDarwinDylibNames, 18 - withIntrospection ? stdenv.hostPlatform.emulatorAvailable pkgsBuildHost, 17 + withIntrospection ? 18 + lib.meta.availableOn stdenv.hostPlatform gobject-introspection 19 + && stdenv.hostPlatform.emulatorAvailable buildPackages, 20 + buildPackages, 19 21 gobject-introspection, 20 22 vala, 21 23 }: