Update Nixpkgs version in packaging tutorial (#1024)

This commit is contained in:
Olga Pilipenco 2024-07-18 18:33:00 -06:00 committed by GitHub
parent d0c9ed4e99
commit fc292e2cd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,7 +129,7 @@ The recommended way to do this is to create a `default.nix` file in the same dir
```nix
# default.nix
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-22.11";
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
{
@ -237,7 +237,7 @@ Change the `default.nix` from the previous section by adding a new attribute for
```nix
# default.nix
let
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-22.11";
nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05";
pkgs = import nixpkgs { config = {}; overlays = []; };
in
{