diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-02-20 03:16:26 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-02-20 03:24:38 +0100 |
commit | c5b2714bc79a27230690821c1c6bd99bdd457c63 (patch) | |
tree | d9485aca1d5b2a3d6e1516a0c4889f3b32f7fadd /pkgs/development/libraries/dbus | |
parent | fc6684054d054ad677a49e2a3ba162563e126093 (diff) |
dbus: Put DTDs into $out instead of $doc
First of all, these "documents" are not really documentation, so it really doesn't make much sense to put it into $doc. The main point however is that the installer tests are failing since this was introduced in ac0cdc1952fb0133ec26f2fdde5a77a648d3c1cd. One way to circumvent this is putting dbus.doc into system.extraDependencies of the installer tests, but given the first point this sounds a bit odd to me. So I went for the second way of putting it into $out, because it's now basically necessary to build a NixOS system. With this the NixOS installer tests should now work again, although I have only tested this with the installer.simple test. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @abbradar
Diffstat (limited to 'pkgs/development/libraries/dbus')
-rw-r--r-- | pkgs/development/libraries/dbus/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/libraries/dbus/make-dbus-conf.nix | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix index 49b71ff99748e..7075874adf879 100644 --- a/pkgs/development/libraries/dbus/default.nix +++ b/pkgs/development/libraries/dbus/default.nix @@ -67,8 +67,8 @@ self = stdenv.mkDerivation { installFlags = [ "sysconfdir=$(out)/etc" "datadir=$(out)/share" ]; postInstall = '' - mkdir -p $doc/share/xml/dbus - cp doc/*.dtd $doc/share/xml/dbus + mkdir -p "$out/share/xml/dbus" + cp doc/*.dtd "$out/share/xml/dbus" ''; # it's executed from $lib by absolute path diff --git a/pkgs/development/libraries/dbus/make-dbus-conf.nix b/pkgs/development/libraries/dbus/make-dbus-conf.nix index a45b4b5443c53..d836d87efef80 100644 --- a/pkgs/development/libraries/dbus/make-dbus-conf.nix +++ b/pkgs/development/libraries/dbus/make-dbus-conf.nix @@ -20,7 +20,7 @@ runCommand "dbus-1" <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"> <rewriteSystem systemIdStartString="http://www.freedesktop.org/standards/dbus/1.0/" - rewritePrefix="file://${dbus.doc}/share/xml/dbus/"/> + rewritePrefix="file://${dbus}/share/xml/dbus/"/> </catalog> ''; } |