1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs
aszlig edce2b759c
make-dbus-conf: Don't try to access network
This is the output of the builder:

building path(s) `/nix/store/khkcfb8433i9mabb6wnb8ik6p9skg644-dbus-1'
error : connection refused
error : connection refused

However, even when using --nonet we'd still get this:

I/O error : Attempt to load network entity
http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd

So in order to avoid this, we now provide an XML catalog file, mapping
the public URLs to the local DTD paths inside the store instead of using
--path (which doesn't seem to work with xsltproc).

Tested this by comparing the SHA256 (nix-hash --type sha256) of the
output path generated by:

nix-build -E '(import ./. {}).makeDBusConf {
  suidHelper = "SUIDHELPER";
  serviceDirectories = [ "SERVICEDIR1" "SERVICEDIR1" ];
}'

... with the SHA256 of the generated output path prior to this commit
and they have the same hash:

6f3f9594b12fddbff9407b85252b6f649da11f56b7fd514f761966c11399a7ab

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @abbradar
2017-02-20 03:24:26 +01:00
..
applications firefox-bin: Add gpg verification to updater (#22270) 2017-02-19 18:33:31 +00:00
build-support buildRustPackage: fix deprecated use of registry.index config key (#22987) 2017-02-19 18:25:25 +00:00
common-updater maintainers: Add script to patch version/sha256 in .nix files 2017-02-19 16:51:17 +02:00
data hackage: update snapshot to 2017-02-12T15:49:03Z 2017-02-16 11:48:10 +01:00
desktops qlipper: 2016-09-26 -> 5.0.0 2017-02-19 11:52:26 -03:00
development make-dbus-conf: Don't try to access network 2017-02-20 03:24:26 +01:00
games scummvm: 1.8.0 -> 1.9.0 2017-02-17 23:46:53 +01:00
misc vimPlugins.clang_complete: init at 2017-02-16 2017-02-19 21:33:18 +01:00
os-specific nvidia: support application profiles 2017-02-19 19:46:01 +03:00
servers coredns: 001 -> 005 2017-02-19 21:26:10 +01:00
shells dgsh-unstable: Init at 2017-02-05 (#22657) 2017-02-18 14:25:49 +01:00
stdenv Merge pull request #22387 from Ericson2314/cross-3-platforms 2017-02-05 17:41:31 -05:00
test
tools Merge pull request #23010 from peterhoeg/f/gpg 2017-02-20 08:16:15 +08:00
top-level lua-packages/luasocket: Fix wrong platforms value 2017-02-20 00:05:18 +01:00