From 1c050ebb4d9c45e953716f0c7c218162333507fe Mon Sep 17 00:00:00 2001 From: Olga Pilipenco <70717429+olga-mcbfe@users.noreply.github.com> Date: Wed, 31 Jul 2024 13:48:43 -0600 Subject: [PATCH] Update Nixpkgs versions in "declarative shells" tutorial (#1023) Co-authored-by: Valentin Gagarin --- source/tutorials/first-steps/declarative-shell.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/tutorials/first-steps/declarative-shell.md b/source/tutorials/first-steps/declarative-shell.md index 6121c894c..4a7a7774e 100644 --- a/source/tutorials/first-steps/declarative-shell.md +++ b/source/tutorials/first-steps/declarative-shell.md @@ -54,7 +54,7 @@ Create a file called `shell.nix` with these contents: ```nix let - nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11"; + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05"; pkgs = import nixpkgs { config = {}; overlays = []; }; in @@ -103,7 +103,7 @@ Set `GREETING` so it can be used in the shell environment: ```diff let - nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11"; + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05"; pkgs = import nixpkgs { config = {}; overlays = []; }; in @@ -143,7 +143,7 @@ Set `shellHook` to output a colorful greeting: ```diff let - nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.11"; + nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05"; pkgs = import nixpkgs { config = {}; overlays = []; }; in