From 5e4c33e26aff4cd2aa47c072cb6f88c4c203407e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sun, 20 Jun 2021 18:05:48 +0200 Subject: [PATCH] Bulitin functions are now documented in the nix manual --- pills/13-callpackage-design-pattern.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pills/13-callpackage-design-pattern.xml b/pills/13-callpackage-design-pattern.xml index 19f573f..6589af4 100644 --- a/pills/13-callpackage-design-pattern.xml +++ b/pills/13-callpackage-design-pattern.xml @@ -124,7 +124,7 @@ The "callPackage" pattern has simplified our repository a lot. We're able to import packages that require some named arguments and call them automatically, given the set of all packages. - We've also introduced some useful builtin functions that allows us to introspect Nix functions and manipulate attributes. These builtin functions are not usually used when packaging software, rather to provide tools for packaging. That's why they are not documented in the nix manual. + We've also introduced some useful builtin functions that allows us to introspect Nix functions and manipulate attributes. These builtin functions are not usually used when packaging software, rather to provide tools for packaging. They are documented in the Nix manual. Writing a repository in nix is an evolution of writing convenient functions for combining the packages. This demonstrates even more how nix is a generic tool to build and deploy something, and how suitable it is to create software repositories with your own conventions.