libical: Fix typo in test env setup

Use ":" instead of ";". This fixes the test for me w/ gi 1.79.1.
This commit is contained in:
Maxine Aubrey 2024-02-15 19:48:48 +01:00
parent 8b757acff5
commit 8de37dce4c
No known key found for this signature in database
GPG Key ID: F6FE033DFCB899F7

View File

@ -81,6 +81,14 @@ stdenv.mkDerivation rec {
./respect-env-tzdir.patch
];
postPatch = ''
# Fix typo in test env setup
# https://github.com/libical/libical/commit/03c02ced21494413920744a400c638b0cb5d493f
substituteInPlace src/test/libical-glib/CMakeLists.txt \
--replace-fail "''${CMAKE_BINARY_DIR}/src/libical-glib;\$ENV{GI_TYPELIB_PATH}" "''${CMAKE_BINARY_DIR}/src/libical-glib:\$ENV{GI_TYPELIB_PATH}" \
--replace-fail "''${LIBRARY_OUTPUT_PATH};\$ENV{LD_LIBRARY_PATH}" "''${LIBRARY_OUTPUT_PATH}:\$ENV{LD_LIBRARY_PATH}"
'';
# Using install check so we do not have to manually set
# LD_LIBRARY_PATH and GI_TYPELIB_PATH variables
# Musl does not support TZDIR.