Skip to content

Commit

Permalink
libical: Fix typo in test env setup
Browse files Browse the repository at this point in the history
Use ":" instead of ";". This fixes the test for me w/ gi 1.79.1.
  • Loading branch information
amaxine committed Apr 22, 2024
1 parent 8b757ac commit 8de37dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/libical/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8de37dc

Please sign in to comment.