games/steam-sandbox: Fix hidraw input enumeration
This was broken when no files matched the glob /dev/hidraw* (it was passed literall to bubblewrap, which failed due to it not existing).
This commit is contained in:
parent
23652c4b8f
commit
05da953e22
|
@ -5,6 +5,7 @@ let
|
|||
|
||||
steam-sandbox = pkgs.writeShellScriptBin "steam-sandbox" /* bash */ ''
|
||||
set -euo pipefail
|
||||
shopt -s nullglob # make for loop work for glob if files do not exist
|
||||
base_dir="''${XDG_DATA_HOME:-$HOME/.local/share}/steam-sandbox"
|
||||
mkdir -p "$base_dir"/{.local/share,.steam,.config,.factorio,data}
|
||||
bubblewrap_args=(
|
||||
|
|
Loading…
Reference in a new issue