Skip to content

Commit 8de37dc

Browse files
committed
libical: Fix typo in test env setup
Use ":" instead of ";". This fixes the test for me w/ gi 1.79.1.
1 parent 8b757ac commit 8de37dc

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkgs/development/libraries/libical/default.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ stdenv.mkDerivation rec {
8181
./respect-env-tzdir.patch
8282
];
8383

84+
postPatch = ''
85+
# Fix typo in test env setup
86+
# https://github.com/libical/libical/commit/03c02ced21494413920744a400c638b0cb5d493f
87+
substituteInPlace src/test/libical-glib/CMakeLists.txt \
88+
--replace-fail "''${CMAKE_BINARY_DIR}/src/libical-glib;\$ENV{GI_TYPELIB_PATH}" "''${CMAKE_BINARY_DIR}/src/libical-glib:\$ENV{GI_TYPELIB_PATH}" \
89+
--replace-fail "''${LIBRARY_OUTPUT_PATH};\$ENV{LD_LIBRARY_PATH}" "''${LIBRARY_OUTPUT_PATH}:\$ENV{LD_LIBRARY_PATH}"
90+
'';
91+
8492
# Using install check so we do not have to manually set
8593
# LD_LIBRARY_PATH and GI_TYPELIB_PATH variables
8694
# Musl does not support TZDIR.

0 commit comments

Comments
 (0)