diff --git a/Cargo.lock b/Cargo.lock index 033df8f..5a366d5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1750,7 +1750,7 @@ dependencies = [ [[package]] name = "pict-rs" -version = "0.5.0-beta.1" +version = "0.5.0-beta.2" dependencies = [ "actix-form-data", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index 1a3ee42..e87bbe0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pict-rs" description = "A simple image hosting service" -version = "0.5.0-beta.1" +version = "0.5.0-beta.2" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/pict-rs.nix b/pict-rs.nix index 73e71a7..9b8aca1 100644 --- a/pict-rs.nix +++ b/pict-rs.nix @@ -11,18 +11,17 @@ rustPlatform.buildRustPackage { pname = "pict-rs"; - version = "0.5.0-beta.1"; + version = "0.5.0-beta.2"; src = ./.; cargoLock = { lockFile = ./Cargo.lock; }; - RUSTFLAGS = "--cfg tokio_unstable --cfg uuid_unstable"; - nativeBuildInputs = [ stdenv makeWrapper ]; buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + RUSTFLAGS = "--cfg tokio_unstable --cfg uuid_unstable"; TARGET_CC = "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"; TARGET_AR = "${stdenv.cc}/bin/${stdenv.cc.targetPrefix}ar";