Compare commits
3 Commits
2e1565338b
...
bd4c57599a
Author | SHA1 | Date | |
---|---|---|---|
bd4c57599a | |||
27e91ae66f | |||
ec7b9b4e23 |
12
flake.nix
12
flake.nix
@ -37,9 +37,21 @@
|
|||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export RUST_SRC_PATH=${pkgs.rustPlatform.rustLibSrc}
|
export RUST_SRC_PATH=${pkgs.rustPlatform.rustLibSrc}
|
||||||
|
export SHELL=${pkgs.lib.getExe pkgs.bashInteractive}
|
||||||
'';
|
'';
|
||||||
buildInputs = runtimeDeps;
|
buildInputs = runtimeDeps;
|
||||||
nativeBuildInputs = buildDeps ++ devDeps ++ [ rustc ];
|
nativeBuildInputs = buildDeps ++ devDeps ++ [ rustc ];
|
||||||
|
packages = with pkgs; [
|
||||||
|
rust-analyzer
|
||||||
|
lldb
|
||||||
|
(vscode-with-extensions.override {
|
||||||
|
vscode = vscodium;
|
||||||
|
vscodeExtensions = with vscode-extensions; [
|
||||||
|
rust-lang.rust-analyzer
|
||||||
|
vadimcn.vscode-lldb
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
_module.args.pkgs = import inputs.nixpkgs {
|
_module.args.pkgs = import inputs.nixpkgs {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user