From 9c71f754856200a4a90da1074ec487bf81f6d8d9 Mon Sep 17 00:00:00 2001 From: Andriyun Date: Wed, 29 May 2024 10:20:02 +0200 Subject: [PATCH] Fix URL to Nix manual --- pills/05-functions-and-imports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pills/05-functions-and-imports.md b/pills/05-functions-and-imports.md index c3d3d98..26fa949 100644 --- a/pills/05-functions-and-imports.md +++ b/pills/05-functions-and-imports.md @@ -2,7 +2,7 @@ Welcome to the fifth Nix pill. In the previous [fourth pill](04-basics-of-language.md) we touched the Nix language for a moment. We introduced basic types and values of the Nix language, and basic expressions such as `if`, `with` and `let`. I invite you to re-read about these expressions and play with them in the repl. -Functions help to build reusable components in a big repository like [nixpkgs](https://github.com/NixOS/nixpkgs/). The Nix manual has a [great explanation of functions](https://nix.dev/tutorials/nix-language.html#functions). Let's go: pill on one hand, Nix manual on the other hand. +Functions help to build reusable components in a big repository like [nixpkgs](https://github.com/NixOS/nixpkgs/). The Nix manual has a [great explanation of functions](https://nix.dev/manual/nix/latest/language/constructs#functions). Let's go: pill on one hand, Nix manual on the other hand. I remind you how to enter the Nix environment: `source ~/.nix-profile/etc/profile.d/nix.sh`