···85 "-DLIBICAL_BUILD_EXAMPLES=False"
86 "-DGOBJECT_INTROSPECTION=${if withIntrospection then "True" else "False"}"
87 "-DICAL_GLIB_VAPI=${if withIntrospection then "True" else "False"}"
088 ]
89 ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
90 "-DIMPORT_ICAL_GLIB_SRC_GENERATOR=${lib.getDev pkgsBuildBuild.libical}/lib/cmake/LibIcal/IcalGlibSrcGenerator.cmake"
···94 # Will appear in 3.1.0
95 # https://github.com/libical/libical/issues/350
96 ./respect-env-tzdir.patch
0097 ];
9899 # Using install check so we do not have to manually set GI_TYPELIB_PATH
···85 "-DLIBICAL_BUILD_EXAMPLES=False"
86 "-DGOBJECT_INTROSPECTION=${if withIntrospection then "True" else "False"}"
87 "-DICAL_GLIB_VAPI=${if withIntrospection then "True" else "False"}"
88+ "-DSTATIC_ONLY=${if stdenv.hostPlatform.isStatic then "True" else "False"}"
89 ]
90 ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
91 "-DIMPORT_ICAL_GLIB_SRC_GENERATOR=${lib.getDev pkgsBuildBuild.libical}/lib/cmake/LibIcal/IcalGlibSrcGenerator.cmake"
···95 # Will appear in 3.1.0
96 # https://github.com/libical/libical/issues/350
97 ./respect-env-tzdir.patch
98+99+ ./static.patch
100 ];
101102 # Using install check so we do not have to manually set GI_TYPELIB_PATH