Add missing pkg-config dependency to dev shell

This commit is contained in:
Luc Perkins 2024-05-17 14:32:40 -03:00
parent 736bd0c019
commit 5da333f97b
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
2 changed files with 1 additions and 10 deletions

View file

@ -51,6 +51,7 @@
packages = with pkgs; [
bashInteractive
cranePkgs.rustNightly
pkg-config
cargo-bloat
cargo-edit

View file

@ -382,16 +382,6 @@ async fn main_cli() -> Result<()> {
tokio::spawn(async move {
if let Err(e) = server.await {
tracing::error!("failed to start up daemon: {e}");
// Delete the notification file if it was created
if let Some(startup_notification_file_path) = args.startup_notification_file_path {
if File::metadata(startup_notification_file_path).await.is_ok() {
if let Err(e) = tokio::fs::remove_file(startup_notification_file_path).await {
tracing::error!("failed to remove stray startup notification file at {startup_notification_file_path:?}; you may need to delete it manually");
}
}
}
exit(1);
}
});