devshell
This commit is contained in:
@@ -46,9 +46,12 @@
|
||||
let pkgs = import nixpkgs { inherit system; }; in {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
rustc cargo rustfmt clippy
|
||||
rustc cargo rustfmt clippy rust-analyzer rust-src
|
||||
gnome-monitor-config xorg.xrandr bash coreutils
|
||||
];
|
||||
shellHook = ''
|
||||
export RUST_SRC_PATH=${pkgs.rust-src}/lib/rustlib/src/rust/library
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user