We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Units of composition: recipes, overlays, and packages

Formale Metadaten

Titel
Units of composition: recipes, overlays, and packages
Serientitel
Anzahl der Teile
798
Autor
Lizenz
CC-Namensnennung 2.0 Belgien:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen.
Identifikatoren
Herausgeber
Erscheinungsjahr
Sprache

Inhaltliche Metadaten

Fachgebiet
Genre
Abstract
This talk introduces a way to talk about and structure large and small projects. There are common patterns in use in Nixpkgs that are there to provide a great deal of power and flexibility, but they are often challenging for beginners. This talk examines an approach that can smoothly introduce the relevant concepts and provide an easier learning curve. Recipes are those things we find throughout Nixpkgs and are normally targets of callPackage. We need a name for these, in order to talk about them, manage, manipulate, inherit, and organize them. By adding this to our vocabulary and to the standard output of the flake schema, we gain many benefits. This talk will - introduce and describe callPackage - present overlays and the potential pitfalls - describe package sets within Nixpkgs (perlPackages, pythonPackages, etc) - propose a recommended flake structure - present a solution to the “system” problem - present a solution to lockfile bloat.