You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zedlets seems to be run with a hard-coded path of /usr/bin:/bin:/usr/sbin:/sbin, and NixOS does not have any binaries there by default. Since tasks like sending a push notification requires external binaries like curl, they all fail.
Steps To Reproduce
Steps to reproduce the behavior:
set services.zfs.zed.settings.ZED_NTFY_TOPIC to a random value
*-notify.sh zedlets fail with exit=1
error seems to occur on a call to zed_check_cmd (both sed and curl is not found, code=2)
Expected behavior
I expect various notify tasks that requires external binaries like curl to succeed.
Describe the bug
Zedlets seems to be run with a hard-coded path of
/usr/bin:/bin:/usr/sbin:/sbin
, and NixOS does not have any binaries there by default. Since tasks like sending a push notification requires external binaries likecurl
, they all fail.Steps To Reproduce
Steps to reproduce the behavior:
services.zfs.zed.settings.ZED_NTFY_TOPIC
to a random value*-notify.sh
zedlets fail withexit=1
zed_check_cmd
(bothsed
andcurl
is not found, code=2)Expected behavior
I expect various notify tasks that requires external binaries like
curl
to succeed.Screenshots
Additional context
-P
flag.Metadata
"x86_64-linux"
Linux 6.6.66, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19
yes
yes
nix-env (Nix) 2.25.3
/etc/nixpkgs/channels/nixpkgs
Notify maintainers
@amarshall
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: