You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
459 B
22 lines
459 B
1 year ago
|
# <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
|
||
|
bacon
|
||
|
pkg-config
|
||
|
openssl
|
||
|
];
|
||
|
}
|