Rebuild shouldn't report failing if the libnotify doesn't work
This commit is contained in:
parent
25ddebec3c
commit
456d7d1dfb
|
@ -22,6 +22,6 @@ writeShellApplication
|
||||||
echo "Cleaning up repository in '/tmp/rebuild'..."
|
echo "Cleaning up repository in '/tmp/rebuild'..."
|
||||||
systemd-inhibit --what=idle rm -rf ./rebuild
|
systemd-inhibit --what=idle rm -rf ./rebuild
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available
|
notify-send -e "NixOS Rebuilt OK!" --icon=software-update-available > /dev/null
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue