lol

makeDBusConf: fail if xsltproc generates empty files

A few people have reported empty files in /etc/dbus-1 which can cause obscure issues.
With this change, users can retry and get non-empty files.

can be tested with
`makeDBusConf { suidHelper = ""; serviceDirectories = []; }`

and adding

```
rm $out/session.conf
echo -n "" > $out/session.conf
# or
echo "" > $out/session.conf
```

Artturin a6138b75 4f5e9824

+4
+4
pkgs/development/libraries/dbus/make-dbus-conf.nix
··· 42 42 --stringparam apparmor "$apparmor" \ 43 43 ${./make-session-conf.xsl} ${dbus}/share/dbus-1/session.conf \ 44 44 > $out/session.conf 45 + 46 + # check if files are empty or only contain space characters 47 + grep -q '[^[:space:]]' "$out/system.conf" || (echo "\"$out/system.conf\" was generated incorrectly and is empty, try building again." && exit 1) 48 + grep -q '[^[:space:]]' "$out/session.conf" || (echo "\"$out/session.conf\" was generated incorrectly and is empty, try building again." && exit 1) 45 49 ''