libical: fix cross-compilation again

The naming of CMake option required to enable cross-compiling was revised when
the patch was accepted upstream.
This commit is contained in:
Ben Wolsieffer 2021-03-01 18:55:17 -05:00
parent 01f31b5dc5
commit 618bcb8cdb

View File

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
"-DGOBJECT_INTROSPECTION=True" "-DGOBJECT_INTROSPECTION=True"
"-DICAL_GLIB_VAPI=True" "-DICAL_GLIB_VAPI=True"
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"-DIMPORT_GLIB_SRC_GENERATOR=${lib.getDev buildPackages.libical}/lib/cmake/LibIcal/GlibSrcGenerator.cmake" "-DIMPORT_ICAL_GLIB_SRC_GENERATOR=${lib.getDev buildPackages.libical}/lib/cmake/LibIcal/IcalGlibSrcGenerator.cmake"
]; ];
patches = [ patches = [