mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
Update Nixpkgs version in packaging tutorial (#1024)
This commit is contained in:
parent
d0c9ed4e99
commit
fc292e2cd6
|
@ -129,7 +129,7 @@ The recommended way to do this is to create a `default.nix` file in the same dir
|
||||||
```nix
|
```nix
|
||||||
# default.nix
|
# default.nix
|
||||||
let
|
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 = []; };
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -237,7 +237,7 @@ Change the `default.nix` from the previous section by adding a new attribute for
|
||||||
```nix
|
```nix
|
||||||
# default.nix
|
# default.nix
|
||||||
let
|
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 = []; };
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue