Skip to content

Commit

Permalink
Update Nixpkgs versions in "declarative shells" tutorial (#1023)
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Gagarin <[email protected]>
  • Loading branch information
olga-mcbfe and fricklerhandwerk authored Jul 31, 2024
1 parent fd16eba commit 1c050eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/tutorials/first-steps/declarative-shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 1c050eb

Please sign in to comment.