Skip to content

Commit

Permalink
feat(nix): provide codelldb flake output
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Feb 20, 2024
1 parent 5e94188 commit 8c2f313
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- Nix: `codelldb` adapter package (without the vscode extension)
as a nixpkgs overlay and a flake output.

## [4.8.0] - 2024-02-20

### Added
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -696,6 +696,7 @@ itself to use it as a debug adapter.
Some examples:

- NixOS: [`vscode-extensions.vadimcn.vscode-lldb.adapter`](https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/editors/vscode/extensions/vadimcn.vscode-lldb/default.nix#L134)
- This repository's Nix flake provides a `codelldb` package.
- Arch Linux: [`codelldb-bin` (AUR)](https://aur.archlinux.org/packages/codelldb-bin)
- Using [`mason.nvim`](https://github.com/williamboman/mason.nvim):
`:MasonInstall codelldb`
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
inherit
(pkgs)
rustaceanvim
codelldb
nvim-minimal-stable
nvim-minimal-nightly
;
Expand Down
2 changes: 2 additions & 0 deletions nix/plugin-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ in {
};

rustaceanvim = final.vimPlugins.rustaceanvim;

codelldb = final.vscode-extensions.vadimcn.vscode-lldb.adapter;
}

0 comments on commit 8c2f313

Please sign in to comment.