2023-05-28 22:18:30 -07:00
|
|
|
# <shell.nix>
|
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
|
|
|
|
|
|
let
|
|
|
|
rust_overlay = import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz");
|
|
|
|
pkgs = import <nixpkgs> { overlays = [ rust_overlay ]; };
|
|
|
|
ruststable = (pkgs.rust-bin.stable.latest.default.override {
|
|
|
|
extensions = [
|
|
|
|
"rust-src"
|
|
|
|
];
|
|
|
|
});
|
|
|
|
in
|
|
|
|
pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
ruststable
|
|
|
|
rust-analyzer
|
2023-05-31 21:13:36 -07:00
|
|
|
bacon
|
|
|
|
|
|
|
|
pkg-config
|
|
|
|
openssl
|
2023-05-28 22:18:30 -07:00
|
|
|
];
|
|
|
|
}
|