-
-
Save worldofpeace/7e0ee9349e116a3c033c91316896039a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/development/libraries/libical/correct-gtk-doc.patch b/pkgs/development/libraries/libical/correct-gtk-doc.patch | |
new file mode 100644 | |
index 00000000000..fcb7b2b0775 | |
--- /dev/null | |
+++ b/pkgs/development/libraries/libical/correct-gtk-doc.patch | |
@@ -0,0 +1,15 @@ | |
+diff --git a/doc/reference/libical-glib/CMakeLists.txt b/doc/reference/libical-glib/CMakeLists.txt | |
+index 4013d570..a2f7ceec 100644 | |
+--- a/doc/reference/libical-glib/CMakeLists.txt | |
++++ b/doc/reference/libical-glib/CMakeLists.txt | |
+@@ -76,9 +76,8 @@ endif() | |
+ add_custom_target(documentation ALL | |
+ COMMAND ${GTKDOC_FIXXREF} | |
+ --module=libical-glib | |
+- --module-dir=. | |
++ --module-dir=html | |
+ --extra-dir=.. | |
+- --html-dir=${OUTPUT_DOCDIR} | |
+ DEPENDS html/index.html | |
+ COMMENT "Generating libical-glib documentation" | |
+ ) | |
diff --git a/pkgs/development/libraries/libical/default.nix b/pkgs/development/libraries/libical/default.nix | |
index 8ca3dd72754..73544ae46b5 100644 | |
--- a/pkgs/development/libraries/libical/default.nix | |
+++ b/pkgs/development/libraries/libical/default.nix | |
@@ -30,6 +30,7 @@ stdenv.mkDerivation rec { | |
# TODO: upstream this patch | |
# https://github.com/libical/libical/issues/350 | |
./respect-env-tzdir.patch | |
+ ./correct-gtk-doc.patch | |
]; | |
# Using install check so we do not have to manually set | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment