Fix missing pkg for notify-send

This commit is contained in:
Torjus Håkestad 2024-03-06 15:02:39 +01:00
parent 47e70d7386
commit db4cdfa886

View File

@ -22,7 +22,7 @@ let
--exclude '/home/torjus/git/nixpkgs'
retval=$?
if [ $retval -ne 0 ]; then
notify-send -u critical "Backup failed" "Backup of /home/torjus failed"
${pkgs.libnotify}/bin/notify-send -u critical "Backup failed" "Backup of /home/torjus failed"
exit 1
fi