We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b757ac commit 8de37dcCopy full SHA for 8de37dc
1 file changed
pkgs/development/libraries/libical/default.nix
@@ -81,6 +81,14 @@ stdenv.mkDerivation rec {
81
./respect-env-tzdir.patch
82
];
83
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
+
92
# Using install check so we do not have to manually set
93
# LD_LIBRARY_PATH and GI_TYPELIB_PATH variables
94
# Musl does not support TZDIR.
0 commit comments