The Nix Hour

The Nix Hour is a weekly beginner-oriented improvised QA-style lecture on Nix, hosted by Tweag. Here you can bring your questions and we'll answer them with more context, examples, alternatives, tradeoffs and related topics. These meetings are open for anybody to join, but also recorded and uploaded to the Tweag YouTube channel. For more information check out https://discourse.nixos.org/t/the-nix-hour-a-weekly-nix-qa-lecture-by-tweag/22767

Curated by: Tweag by Modus Create (81 videos)


Currently Playing: The Nix Hour #4 [comparing flakes to traditional Nix]

The Nix Hour is a weekly beginner-oriented improvised Q&A-style lecture on Nix, where you can bring your questions and we'll answer them with more context, examples, alternatives, tradeoffs and related topics. The Nix hour happens every week, is open to the public and is recorded and uploaded to the Tweag YouTube channel. For more info check out https://discourse.nixos.org/t/the-nix-hour-a-weekly-nix-qa-lecture-by-tweag/22767 zimbatm's blogpost about too many nixpkgs instances with Flakes: https://zimbatm.com/notes/1000-instances-of-nixpkgs This week we looked at these topics: 00:00 To adopt or not to adopt Nix Flakes in your company 05:38 Default evaluation purity in Flakes 10:31 Avoiding impurities in stable Nix 16:12 Overriding the system in stable Nix 17:43 Enabling pure evaluation without Flakes 23:37 Overriding nixpkgs in Flakes 24:46 Overriding nixpkgs in stable Nix 28:44 Updating the pinned nixpkgs in Flakes 29:53 Updating the pinned nixpkgs in Nix 30:49 Using niv to manage sources 35:17 Flakes manages inputs recursively 36:51 Flakes has an output schema 37:34 Discovering attributes in stable Nix 40:32 niv doesn't manage sources recursively 42:35 Using follows in Flakes to reproduce the failure 43:31 Manually pinning the recursive nixpkgs with niv 46:40 Problem with many nixpkgs versions in Flakes 50:21 Recommendations for 2nix tooling


Tracks in this Playlist