From 695b536a6bb596d415ed1ff14134f7b13725191a Mon Sep 17 00:00:00 2001 From: Attila Gulyas Date: Sat, 10 Aug 2024 08:42:00 -0400 Subject: [PATCH 1/3] Update towards-reproducibility-pinning-nixpkgs.md I expected the `` link to point to a resource that explains what that construct is and not directly to Nixpkgs. If I would be totally new to Nix, that would be even more confusing. Couldn't test whether the links in the new note section resolve properly as MyST wouldn't compile on my Mac M1. If you you like this change, I can spend more time to test them properly. --- .../first-steps/towards-reproducibility-pinning-nixpkgs.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md b/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md index 481ffd476..798615ada 100644 --- a/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md +++ b/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md @@ -2,7 +2,7 @@ # Towards reproducibility: pinning Nixpkgs -In various Nix examples, you'll often see references to [\](https://github.com/NixOS/nixpkgs), as follows. +In various Nix examples, you'll often see the following: ```nix { pkgs ? import {} }: @@ -10,6 +10,10 @@ In various Nix examples, you'll often see references to [\](https://git ... ``` +:::{note} +`` points to the file system path of some revision of {term}`Nixpkgs`. See [lookup paths](../nix-language.md#lookup-paths) in the next chapter, [](../nix-language.md). +::: + This is a **convenient** way to quickly demonstrate a Nix expression and get it working by importing Nix packages. However, **the resulting Nix expression is not fully reproducible**. From f9c7d591a8a4742934b61d7b2d37b0deae1504e6 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Tue, 13 Aug 2024 10:02:32 +0200 Subject: [PATCH 2/3] fixup --- .../first-steps/towards-reproducibility-pinning-nixpkgs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md b/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md index 798615ada..0dd225163 100644 --- a/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md +++ b/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md @@ -11,7 +11,8 @@ In various Nix examples, you'll often see the following: ``` :::{note} -`` points to the file system path of some revision of {term}`Nixpkgs`. See [lookup paths](../nix-language.md#lookup-paths) in the next chapter, [](../nix-language.md). +`` points to the file system path of some revision of {term}`Nixpkgs`. +Find more information on [lookup paths](../nix-language.md#lookup-paths) in [](../nix-language.md). ::: This is a **convenient** way to quickly demonstrate a Nix expression and get it working by importing Nix packages. From ff914a1768d5708da5d8c5b7282a0a68296b95de Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Wed, 14 Aug 2024 23:54:36 +0200 Subject: [PATCH 3/3] fix links --- .../first-steps/towards-reproducibility-pinning-nixpkgs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md b/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md index 0dd225163..08707e336 100644 --- a/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md +++ b/source/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md @@ -12,7 +12,7 @@ In various Nix examples, you'll often see the following: :::{note} `` points to the file system path of some revision of {term}`Nixpkgs`. -Find more information on [lookup paths](../nix-language.md#lookup-paths) in [](../nix-language.md). +Find more information on [lookup paths](lookup-path-tutorial) in [](reading-nix-language). ::: This is a **convenient** way to quickly demonstrate a Nix expression and get it working by importing Nix packages.