From 9ff1601dc734a9a01aec79802d548cb4195d2304 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sat, 24 Aug 2019 11:27:36 -0400 Subject: [PATCH] make-dbus-conf: use share/xml/dbus-1 --- pkgs/development/libraries/dbus/default.nix | 5 ----- pkgs/development/libraries/dbus/make-dbus-conf.nix | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix index c962f50d3b89..616ad869d57c 100644 --- a/pkgs/development/libraries/dbus/default.nix +++ b/pkgs/development/libraries/dbus/default.nix @@ -85,11 +85,6 @@ stdenv.mkDerivation rec { "datadir=${placeholder ''out''}/share" ]; - postInstall = '' - mkdir -p "$out/share/xml/dbus" - cp doc/*.dtd "$out/share/xml/dbus" - ''; - # it's executed from $lib by absolute path postFixup = '' moveToOutput bin/dbus-launch "$lib" diff --git a/pkgs/development/libraries/dbus/make-dbus-conf.nix b/pkgs/development/libraries/dbus/make-dbus-conf.nix index 5d441c5d1331..e714b96b7e9f 100644 --- a/pkgs/development/libraries/dbus/make-dbus-conf.nix +++ b/pkgs/development/libraries/dbus/make-dbus-conf.nix @@ -22,7 +22,7 @@ runCommand "dbus-1" + rewritePrefix="file://${dbus}/share/xml/dbus-1/"/> ''; nativeBuildInputs = [ libxslt.bin ];