feat: darwin dep

This commit is contained in:
Zynh Ludwig 2024-11-15 17:25:21 -08:00
parent 47b72f6f04
commit a053acd83c
2 changed files with 3 additions and 1 deletions

View file

@ -8,6 +8,9 @@ mkShell rec {
openssl openssl
# TODO: Figure out a better way to include sqlx only in dev shells (release shell?) # TODO: Figure out a better way to include sqlx only in dev shells (release shell?)
sqlx-cli sqlx-cli
] ++ lib.optionals pkgs.stdenv.isDarwin [
# Additional darwin specific inputs can be set here
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration
]; ];
buildInputs = additionalBuildInputs; buildInputs = additionalBuildInputs;
LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs;

View file

@ -1,6 +1,5 @@
use std::path::Path; use std::path::Path;
use askama::Template;
use async_zip::{base::write::ZipFileWriter, Compression, ZipEntryBuilder}; use async_zip::{base::write::ZipFileWriter, Compression, ZipEntryBuilder};
use axum::{ use axum::{
extract::{DefaultBodyLimit, Multipart, State}, extract::{DefaultBodyLimit, Multipart, State},