Skip to content

Commit

Permalink
fix(build): clippy fix and shell update (#505)
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro authored Aug 3, 2023
1 parent e5e12eb commit 6bc4055
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/actix-web/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use super::{
Mountable,
};
use actix_service::ServiceFactory;
#[cfg(any(feature = "swagger-ui"))]
#[cfg(feature = "swagger-ui")]
use actix_web::HttpRequest;
use actix_web::{
body::MessageBody,
Expand Down
3 changes: 2 additions & 1 deletion shell.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ profile ? "nightly", date ? "2022-10-10", oxalica ? "c1e8d766436179b622af088b3dbf1181264c18ba", rustup ? true }:
{ profile ? "stable", date ? "2023-08-03", oxalica ? "99df490", rustup ? true }:
let
oxalica_overlay = builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/${oxalica}.tar.gz";
pkgs = import <nixpkgs> {
Expand All @@ -11,6 +11,7 @@ pkgs.mkShell {
nixpkgs-fmt
openssl
pkg-config
libiconv
] ++ pkgs.lib.optional (!rustup) rust
++ pkgs.lib.optional (system == "aarch64-darwin") darwin.apple_sdk.frameworks.Security;
shellHook = ''
Expand Down

0 comments on commit 6bc4055

Please sign in to comment.