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)
Questions can only be asked by voice or chat in the meeting: https://meet.zrh.init7.net/nix-hour. The Nix Hour is an open beginner-oriented 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. Matrix room for questions, feedback and notifications: https://matrix.to/#/%23nix-hour:matrix.org Issue tracker for asynchronous questions: https://github.com/tweag/nix-hour/issues Previous sessions playlist: https://www.youtube.com/playlist?list=PLyzwHTVJlRc8yjlx4VR4LU5A5O44og9in For more information and updates, check out https://discourse.nixos.org/t/the-nix-hour-a-weekly-nix-qa-lecture-by-tweag/22767 Files from this session: https://github.com/tweag/nix-hour/tree/master/43 00:00 Intro 00:47 Q: Compiling CPython from source 01:55 Python packages structure in nixpkgs 03:07 Adding Python version to pythonInterpreters 09:50 fetchurl vs fetchzip with GitHub 12:20 Back to building CPython, adding patches 17:13 Look for build times in Hydra 18:37 Limiting parallelism in build process 19:52 Adding CPython version in overlay 22:06 Simple flake with an overlay 25:52 Adjusting code from nixpkgs in overlay 26:47 Aside: callPackage and __splicedPackages 35:00 Back to passing arguments to CPython build 37:54 Overriding src definition 40:56 Adding patches 44:49 Fixing source hash 46:30 Pinning nixpkgs revision in flake 48:26 Overriding pythonInterpreters and .override 55:35 Making sure master CPython runs 56:24 Could we use overrideAttrs on last CPython version? 58:10 Outro