fix: __check-config runs quietly without a home directory

This commit is contained in:
elwrcl committed 2026-10-03 03:47:50 +03:00
1 parent c97dd018b6
commit d298a3c3c7
2 files changed
+16

No files matched your search

+5
View File
@@ -67,6 +67,11 @@
pkgs.runCommand "valw-home-module" { } ''
grep -qx 'timeout_secs = 3' ${set.xdg.configFile."valw/config.toml".source}
grep -qx 'volume = 0.4' ${set.xdg.configFile."valw/config.toml".source}
# Quiet, and no home directory needed.
HOME=/nonexistent ${valw}/bin/valw __check-config ${
set.xdg.configFile."valw/config.toml".source
} 2> err
test ! -s err
touch $out
'';