about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/rygel/default.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-04-18 06:37:01 -0400
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-04-18 06:37:01 -0400
commit383c35e8276dff7e59c50f971feb790e2f4e3c34 (patch)
treec2d1fae1f2bf65be051305e8dd36097c523926bc /pkgs/desktops/gnome-3/core/rygel/default.nix
parentfab6d810b5ac32f6d20fa2a77b97e8fbe0ffbd90 (diff)
downloadnixlib-383c35e8276dff7e59c50f971feb790e2f4e3c34.tar
nixlib-383c35e8276dff7e59c50f971feb790e2f4e3c34.tar.gz
nixlib-383c35e8276dff7e59c50f971feb790e2f4e3c34.tar.bz2
nixlib-383c35e8276dff7e59c50f971feb790e2f4e3c34.tar.lz
nixlib-383c35e8276dff7e59c50f971feb790e2f4e3c34.tar.xz
nixlib-383c35e8276dff7e59c50f971feb790e2f4e3c34.tar.zst
nixlib-383c35e8276dff7e59c50f971feb790e2f4e3c34.zip
gnome3.rygel: fix build
Fixes #59815

* add patch for installation sysconfdir
* disable api docs
Diffstat (limited to 'pkgs/desktops/gnome-3/core/rygel/default.nix')
-rw-r--r--pkgs/desktops/gnome-3/core/rygel/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/desktops/gnome-3/core/rygel/default.nix b/pkgs/desktops/gnome-3/core/rygel/default.nix
index 09ff43041fd0..5e701e488f26 100644
--- a/pkgs/desktops/gnome-3/core/rygel/default.nix
+++ b/pkgs/desktops/gnome-3/core/rygel/default.nix
@@ -7,7 +7,6 @@
 , gettext
 , libxml2
 , gobject-introspection
-, gtk-doc
 , wrapGAppsHook
 , python3
 , glib
@@ -32,7 +31,7 @@ stdenv.mkDerivation rec {
   version = "0.38.0";
 
   # TODO: split out lib
-  outputs = [ "out" "dev" "devdoc" ];
+  outputs = [ "out" "dev" ];
 
   src = fetchurl {
     url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
@@ -47,7 +46,6 @@ stdenv.mkDerivation rec {
     gettext
     libxml2
     gobject-introspection
-    gtk-doc
     wrapGAppsHook
     python3
   ];
@@ -76,12 +74,17 @@ stdenv.mkDerivation rec {
 
   mesonFlags = [
     "-Dsystemd-user-units-dir=${placeholder "out"}/lib/systemd/user"
-    "-Dapi-docs=true"
+    "-Dapi-docs=false"
     "--sysconfdir=/etc"
+    "-Dsysconfdir_install=${placeholder "out"}/etc"
   ];
 
   doCheck = true;
 
+  patches = [
+    ./add-option-for-installation-sysconfdir.patch
+  ];
+
   postPatch = ''
     patchShebangs data/xml/process-xml.py
   '';