2.3.0
What's Changed
This release prioritizes enhancing the functionality of 'select' expressions within the Nix language. For instance, improvements have been made to lib.mkDefault
, pkgs.nixd
, and similar components.
Unlike previous configuration-based approach in nixd 1.0, these features will work out of box for you.
New Features
with pkgs; [ nixd.over| ]
Enables auto-completion for variables that comes from with
expression and "select" into nested attrs.
e.g.
Add "goto definition" support for select expressions, e.g.
with pkgs; [
nixVersions.nix
# ^
]
pkgs.stdenv.mkDerivation
# ^
These values are now "Ctrl + Click"-able to nixpkgs locations.
Bug Fixes
- nixd: don't pass
NIX_PATH
to nixd-attrset-eval unit tests by @inclyc in #542 - nixd/Controller: fix crashing on empty selector idiom in completion by @inclyc in #553
Other Changes
- libnixf: generate diagnostic declarations from python by @inclyc in #548
- nixd/Eval: basic support for value metadata by @inclyc in #545
- nixd/test/completion: precommit
pkgs
failing test by @inclyc in #550
Packagers' Note
Please add python312
as nativeBuildInputs
.
Full Changelog: 2.2.3...2.3.0