diff --git a/shell.nix b/shell.nix index ed9e928..bb86e72 100644 --- a/shell.nix +++ b/shell.nix @@ -8,6 +8,9 @@ mkShell rec { openssl # TODO: Figure out a better way to include sqlx only in dev shells (release shell?) sqlx-cli + ] ++ lib.optionals pkgs.stdenv.isDarwin [ + # Additional darwin specific inputs can be set here + pkgs.darwin.apple_sdk.frameworks.SystemConfiguration ]; buildInputs = additionalBuildInputs; LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; diff --git a/src/router/upload.rs b/src/router/upload.rs index 6f96026..634179c 100644 --- a/src/router/upload.rs +++ b/src/router/upload.rs @@ -1,6 +1,5 @@ use std::path::Path; -use askama::Template; use async_zip::{base::write::ZipFileWriter, Compression, ZipEntryBuilder}; use axum::{ extract::{DefaultBodyLimit, Multipart, State},