Formatting Nixpkgs with Silvan Mosberger
E40

Formatting Nixpkgs with Silvan Mosberger

Pre-roll transcript:

Before you is an episode of the Full Time Nix podcast.

For silence skipping and other useful features consider using a podcast app.

---

https://www.youtube.com/@molybdenumsoftware

https://github.com/NixOS/rfcs/pull/101

https://github.com/NixOS/nixfmt

nixfmt created by https://serokell.io/

https://github.com/nix-community/nixpkgs-fmt

https://github.com/NixOS/rfcs/pull/166

https://github.com/kamadorueda/alejandra

https://piegames.de/
https://github.com/0x4A6F
https://github.com/tomberek
https://github.com/dasJ
https://nixos.org/community/teams/formatting/

https://github.com/numtide/treefmt

https://github.com/NixOS/nixpkgs/pull/322537
https://github.com/NixOS/nixpkgs/pull/322537#issuecomment-2532934880

https://www.tweag.io/
https://antithesis.com/

https://hintjens.gitbooks.io/social-architecture/content/chapter4.html

https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md

https://moduscreate.com/

Auto-generated chapters:

00:00 Introduction and Background
01:44 The Journey to Standardized Formatting
06:17 The Evolution of RFC 101 to 166
11:22 The Role of the Shepherd Team
15:59 Defining the Formatting Rules
19:51 Finalizing the RFC and Implementation
25:01 Implementation Insights and Challenges
27:23 Finalizing the Formatter and Addressing Issues
30:09 Tree-Wide Reformatting: Strategies and Challenges
34:15 Ensuring Consistency in Formatting
38:54 Future Plans for Formatting and Maintenance
46:51 Enhancing PR Review Processes
49:28 Streamlining Local Formatting with treefmt
53:14 Managing Version Control and Formatting Conflicts
55:45 The Role of the Formatting Team
57:16 Exploring Linting and Future Maintenance
01:01:02 Automation and Community Contributions
01:04:10 C4 Guidelines for Effective PR Reviews
01:07:30 The Future of Documentation and Automation
01:10:15 Motivation Behind Community Contributions


---

Nixcademy ad transcript:

Statistically speaking, Nix is a novel technology.
As such, adoption comes at an immediate cost of productivity.
Team members who know Nix find themselves preoccupied providing support
and the emergence of anti-patterns adds technical debt.
What's worse; morale is affected.

But, with training, these costs can be all but elimitated.
Founded by my friend and mentor Jacek Galowicz,
Nixcademy have brought hundreds of team members up to speed with Nix.
It's what they do.

So, liberate your Nix experts,
prevent technical debt
and get on top of Nix and back to work better and sooner.
Visit nixcademy.com.

Jacek tells me that most Nixcademy clients returned their investment in training in under three months.
They also provide free educational content that I recommend and a newsletter that I subscribe to.
nixcademy.com.

Determinate Nix ad transcript:

You may be a huge Nixer, seeking to apply it to everything at work.
But — security, compliance, and scale.
Enter Determinate Nix.
It is the Nix that powers our systems.
But with the governance, stability, and features to back an enterprise Nixer.
Such as:

- Parallel evaluation
- Out of the box native Linux builder on macOS
- Lazy trees
- Automatic certificate handling
- First-class mobile device management

And the list goes on.
Visit determinate.systems to find out how Nixers in charge of critical infra
such as finance and defense turn deterministic fantasy into reproducible reality.

determinate.systems

Post-roll transcript:

For past and future episodes search “Full Time Nix” on a podcast app or visit fulltimenix.com.

For 1-on-1 mentoring sessions with me visit mightyi.am.

Creators and Guests

Shahar
Host
Shahar "Dawn" Or
Author of the Full Time Nix podcast and The Molybdenum Software Show