diff --git a/source/tutorials/declarative-and-reproducible-developer-environments.md b/source/tutorials/declarative-and-reproducible-developer-environments.md index 51300f8..ba92f56 100644 --- a/source/tutorials/declarative-and-reproducible-developer-environments.md +++ b/source/tutorials/declarative-and-reproducible-developer-environments.md @@ -29,7 +29,7 @@ Developer environments allow you to: At the top-level of your project create `shell.nix` with the following contents: ```nix -{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/3590f02e7d5760e52072c1a729ee2250b5560746.tar.gz") {} }: +{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/06278c77b5d162e62df170fec307e83f1812d94b.tar.gz") {} }: pkgs.mkShell { buildInputs = [ @@ -78,7 +78,7 @@ You should see something similar to this: Given the following `shell.nix`: ```nix -{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/3590f02e7d5760e52072c1a729ee2250b5560746.tar.gz") {} }: +{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/06278c77b5d162e62df170fec307e83f1812d94b.tar.gz") {} }: pkgs.mkShell { buildInputs = [ diff --git a/source/tutorials/nix-language.md b/source/tutorials/nix-language.md index 9ef2890..a45cbf5 100644 --- a/source/tutorials/nix-language.md +++ b/source/tutorials/nix-language.md @@ -1456,7 +1456,7 @@ A fully reproducible example would therefore look like this: ```nix let - nixpkgs = fetchTarball https://github.com/NixOS/nixpkgs/archive/3590f02e7d5760e52072c1a729ee2250b5560746.tar.gz; + nixpkgs = fetchTarball https://github.com/NixOS/nixpkgs/archive/06278c77b5d162e62df170fec307e83f1812d94b.tar.gz; pkgs = import nixpkgs {}; in pkgs.lib.strings.toUpper "always pin your sources" diff --git a/source/tutorials/towards-reproducibility-pinning-nixpkgs.md b/source/tutorials/towards-reproducibility-pinning-nixpkgs.md index 455b394..8fea1a1 100644 --- a/source/tutorials/towards-reproducibility-pinning-nixpkgs.md +++ b/source/tutorials/towards-reproducibility-pinning-nixpkgs.md @@ -22,7 +22,7 @@ To create **fully reproducible** Nix expressions, we can pin an exact version of The simplest way to do this is to fetch the required Nixpkgs version as a tarball specified via the relevant Git commit hash: ```nix -{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/3590f02e7d5760e52072c1a729ee2250b5560746.tar.gz") {} +{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/06278c77b5d162e62df170fec307e83f1812d94b.tar.gz") {} }: ...