mi/shell.nix

20 lines
461 B
Nix
Raw Normal View History

2020-09-13 15:23:53 +00:00
let
sources = import ./nix/sources.nix;
pkgs =
import sources.nixpkgs { overlays = [ (import sources.nixpkgs-mozilla) ]; };
ruststable = (pkgs.latest.rustChannels.stable.rust.override { extensions = [ "rust-src" "rls-preview" "rust-analysis" "rustfmt-preview" ];});
in pkgs.mkShell {
buildInputs = with pkgs; [
ruststable
pkgconfig
openssl
cmake
zlib
libgit2
# keep this line if you use bash
bashInteractive
];
}