🙃
This commit is contained in:
@@ -23,13 +23,22 @@
|
|||||||
nativeBuildInputs = nativeBuildInputs;
|
nativeBuildInputs = nativeBuildInputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
# devShells.${system}.default = pkgs.mkShell {
|
devShells.${system}.default = pkgs.mkShell {
|
||||||
# packages = buildInputs;
|
inputsFrom = [self.packages.${system}.default];
|
||||||
# inputsFrom = nativeBuildInputs;
|
|
||||||
#
|
packages = with pkgs; [
|
||||||
# shellHook = ''
|
rustc
|
||||||
# exec zsh
|
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 rt = Runtime::new().unwrap();
|
||||||
// let handle = rt.handle().clone();
|
let handle = rt.handle().clone();
|
||||||
// let addr = "127.0.0.1:7050";
|
// let addr = "127.0.0.1:7050";
|
||||||
//
|
//
|
||||||
// let socket = WsServer::bind(addr, handle);
|
// let socket = WsServer::bind(addr, handle);
|
||||||
|
|||||||
Reference in New Issue
Block a user