From 14a07553f359c13aaa66fd86c7212f5dfe5f9031 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 6 Nov 2026 19:05:42 +0100 Subject: modules/nix/nix-wrapper.sh: Ignore `notify-send` failure --- modules/by-name/ni/nix/nix_wrapper.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/by-name/ni/nix/nix_wrapper.sh b/modules/by-name/ni/nix/nix_wrapper.sh index 489f10f1..f540f27d 100755 --- a/modules/by-name/ni/nix/nix_wrapper.sh +++ b/modules/by-name/ni/nix/nix_wrapper.sh @@ -5,7 +5,10 @@ _NIX_WRAPPER_FALLBACK="${_NIX_WRAPPER_FALLBACK-false}" me="$(basename "$0")" -notify-send "Running '$me' via the wrapper." +notify-send "Running '$me' via the wrapper." || { + : "Ignore failure" +} + if [ "$_NIX_WRAPPER_FALLBACK" = "true" ]; then # Allow skipping the size check. "$me" "$@" -- cgit v1.3.1