🙃
This commit is contained in:
@@ -23,13 +23,22 @@
|
||||
nativeBuildInputs = nativeBuildInputs;
|
||||
};
|
||||
|
||||
# devShells.${system}.default = pkgs.mkShell {
|
||||
# packages = buildInputs;
|
||||
# inputsFrom = nativeBuildInputs;
|
||||
#
|
||||
# shellHook = ''
|
||||
# exec zsh
|
||||
# '';
|
||||
# };
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
inputsFrom = [self.packages.${system}.default];
|
||||
|
||||
packages = with pkgs; [
|
||||
rustc
|
||||
cargo
|
||||
rustfmt
|
||||
rust-analyzer
|
||||
zsh
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export SHELL=${pkgs.zsh}/bin/zsh
|
||||
# jump into zsh if we didn't already start in it
|
||||
[ -z "$ZSH_VERSION" ] && exec ${pkgs.zsh}/bin/zsh -l
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ fn main() {
|
||||
}
|
||||
|
||||
// let rt = Runtime::new().unwrap();
|
||||
// let handle = rt.handle().clone();
|
||||
let handle = rt.handle().clone();
|
||||
// let addr = "127.0.0.1:7050";
|
||||
//
|
||||
// let socket = WsServer::bind(addr, handle);
|
||||
|
||||
Reference in New Issue
Block a user