nongnu: steam: Don't fail if system bus isn't up.

* nongnu/packages/steam-client.scm (make-container-wrapper): Expose the
`/var/run/dbus' directory only if it exists.
This commit is contained in:
pineapples 2021-07-01 20:33:59 +02:00
parent d54973e47b
commit 0a05a14ce1
No known key found for this signature in database
GPG key ID: F3690CBE3152EF58

View file

@ -340,7 +340,7 @@ in a sandboxed FHS environment."
,@(exists-> "/dev/nvidiactl") ,@(exists-> "/dev/nvidiactl")
,@(exists-> "/dev/nvidia-modeset") ,@(exists-> "/dev/nvidia-modeset")
"/sys/devices" "/sys/devices"
"/var/run/dbus")) ,@(exists-> "/var/run/dbus")))
(share `("/dev/shm" (share `("/dev/shm"
,(string-append sandbox-home "=" home) ,(string-append sandbox-home "=" home)
,@(exists-> (string-append home "/.config/pulse")) ,@(exists-> (string-append home "/.config/pulse"))