feat: add debug adapters to nix shell

This commit is contained in:
Kiana Sheibani 2026-01-24 01:07:32 -05:00
parent 13fb093d33
commit 5ea809eaa0
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
8 changed files with 32 additions and 11 deletions

View file

@ -4,5 +4,8 @@ let inherit (pkgs)
llvmPackages_21
;
in mkShell {
packages = [ llvmPackages_21.clang-tools ];
packages = [
llvmPackages_21.clang-tools
llvmPackages_21.lldb
];
}

View file

@ -4,5 +4,8 @@ let inherit (pkgs)
llvmPackages_21
;
in mkShell {
packages = [ llvmPackages_21.clang-tools ];
packages = [
llvmPackages_21.clang-tools
llvmPackages_21.lldb
];
}

View file

@ -5,5 +5,8 @@ let inherit (pkgs)
;
in mkShellNoCC {
inputsFrom = [ python3.buildEnv.env ];
packages = [ python3.pkgs.python-lsp-server ];
packages = [
python3.pkgs.python-lsp-server
python3.pkgs.debugpy
];
}

View file

@ -5,5 +5,8 @@ let inherit (pkgs)
;
in mkShellNoCC {
inputsFrom = [ python3.buildEnv.env ];
packages = [ python3.pkgs.python-lsp-server ];
packages = [
python3.pkgs.python-lsp-server
python3.pkgs.debugpy
];
}

View file

@ -8,5 +8,9 @@ let
toolchain = fenixPkgs.${fenixToolchain}.toolchain;
craneLib = (crane.mkLib pkgs).overrideToolchain toolchain;
in craneLib.devShell {
packages = [ fenixPkgs.rust-analyzer ];
packages = [
toolchain
fenixPkgs.rust-analyzer
pkgs.lldb_21
];
}

View file

@ -7,5 +7,9 @@ let
fenixPkgs = fenix.packages.${pkgs.system};
toolchain = fenixPkgs.${fenixToolchain}.toolchain;
in mkShellNoCC {
packages = [ toolchain fenixPkgs.rust-analyzer ];
packages = [
toolchain
fenixPkgs.rust-analyzer
pkgs.lldb_21
];
}

View file

@ -1,10 +1,10 @@
{ pkgs ? import <nixpkgs> {},
crane ? builtins.getFlake "github:ipetkov/crane"
}:
let
inherit (pkgs)
let inherit (pkgs)
rust-analyzer
lldb_21
;
in (crane.mkLib pkgs).devShell {
packages = [ rust-analyzer ];
packages = [ rust-analyzer lldb_21 ];
}

View file

@ -4,7 +4,8 @@ let inherit (pkgs)
rustc
cargo
rust-analyzer
lldb_21
;
in mkShellNoCC {
packages = [ rustc cargo rust-analyzer ];
packages = [ rustc cargo rust-analyzer lldb_21 ];
}