Hello Nixers ![]()
Here are the latest news from the Tweag Nix team:
Nix UX
-
nix doctoris a nice little command that can easily diagnose common configuration issues with Nix. As a side-effect of a refactoring, it stopped printing anything some times ago. @thufschmitt fixed it (nix#6362); -
nix runwas implicitely assuming that it was using a local store (and so could directly execute the result of the build). @edolstra made this assumption explicit by throwing a clear error when that’s not the case (nix#6330); - Certain failures of
nix copywere throwing an empty error. @edolstra fixed this (nix#6371); - In 2.7, the
templatesflake output got extended to accept awelcomeTextattribute to be printed onnix flake initornix flake new. Howevernix flake checkwasn’t aware of this and warned about this new attribute. @thufschmitt fixed it (nix#6360);
Nix documentation
- Because details matter, some people (including myself) got upset by the fact that the new Nix manual didn’t have any anchor for the
nix.confoptions (nix#5745). Because the same source is used by two different renderers (docbookfor the html manual andlowdownfor the man pages) with some slightly different ideas of what markdown is doing so was trickier than what it should have been. @thufschmitt worked around the issue in a way that made both tools happy (nix#6363) -
@thufschmitt and @fricklerhandwerk recorded a hacking session on Nix. Hopefully the first of a long series
See the announcement post for more details.
Nix internals
- The nice regression test trying to evaluate the whole of nixpkgs that @edolstra set up a few months ago started to pay off, catching a subtle semantic change that could thus be fixed in a matter of hours (nix#6347);
- The new experimental
fetchClosurebuiltin had a slight security hole, which @edolstra fixed (nix#6370); -
nix profile installcould in some cases try to refer to non-existing store paths, causing it to crash. @edolstra fixed this (nix#6328).
search.nixos.org
- @garbas has been working on some cleanup for the search website (nixos-search#464 and nixos-search#467)
Nickel
- @garbas, @YannHam and @thufschmitt continued brainstorming to get a nice Nix-Nickel interaction. Still not much to show unfortunately, but an RFC is on its way
- In order to make it a more community-oriented project, @Yannham started working on a contributing guide (nickel#679)
- @Yannham improved the location reporting for errors (nickel#667)
- @Yannham fixed an ill-typed function from the stdlib (nickel#674)
And that’s all, folks. The rest is history