github oxalica/nil 2023-02-03
Snapshot release 2023-02-03

latest releases: 2024-08-06, 2023-08-09, 2023-05-09...
19 months ago

Happy EastAsianLunisolarCalendar new year!

Breaking

  • Bump minimal supported rust version to 1.66

Features

  • Type schema for flake.nix.
    Common fields of flake definitions as well as defined inputs are subjects to
    completion now.

  • Goto-definition for flake inputs. The name in inputs.name = ... and
    outputs = { name, ... }: ... will take you to the flake.nix of the input
    inside Nix store.

    This requires an working nix binary and a valid flake.lock.

  • Completion for pat-parameters definitions.
    This also works in parameters of flake outputs.
    { inputs.nixpkgs.url = "..."; outputs = { n| }: { }; }

  • Add CLI for diagnostics. Now you can also run nil as a linter.

  • Support convert_to_inherit for let in and rec { }.

  • Documentation of all code actions now lives in docs/code_actions.md.

Fixes

  • LSP mishandling in DidChangeTextDocument, which caused issues on kakoune.
  • Missed error and panic information in log. Now a backtrace is captured
    if possible when the worker panicked.

Don't miss a new nil release

NewReleases is sending notifications on new releases.