emersion / mako

A lightweight Wayland notification daemon
https://wayland.emersion.fr/mako
MIT License
2.17k stars 137 forks source link

`on-notify` produces `exec failed : No such file or directory` error on NixOS #489

Closed e-tho closed 8 months ago

e-tho commented 8 months ago

I can't identify the source of the problem I've tried different solutions it doesn't seem to be environment related all paths provided are absolute.

extraConfig = ''
  [app-name=grimblast]
  invisible=0
  on-notify=exec ${pkgs.mpv}/bin/mpv /run/current-system/sw/share/sounds/deepin/stereo/camera-shutter.wav
'';
Dec 30 23:15:40 nixos org.freedesktop.Notifications[56605]: exec failed: No such file or directory
emersion commented 8 months ago

Sounds like a NixOS issue rather than a mako issue. Please ask for support in NixOS channels.