From 00a841d0f3d2b7f36a9842b4944a06317c4c4b07 Mon Sep 17 00:00:00 2001 From: Sukant Hajra Date: Thu, 7 Nov 2024 15:22:42 -0600 Subject: [PATCH] Update dependencies and documentation --- doc/internal/params.el | 2 +- doc/nix-installation.md | 2 +- doc/nix-introduction.md | 2 +- flake.lock | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/internal/params.el b/doc/internal/params.el index eae8402..2303267 100644 --- a/doc/internal/params.el +++ b/doc/internal/params.el @@ -10,7 +10,7 @@ ;; run-type must be "executable" (run-target-short . "org2gfm") ;; run-target-long will always prefix "bin/" - (nix-latest . "2.24.9") + (nix-latest . "2.24.10") (nix-stable . "2.18.8") (nixos-latest . "24.05") (platforms . "\n\ diff --git a/doc/nix-installation.md b/doc/nix-installation.md index e775244..2e63cba 100644 --- a/doc/nix-installation.md +++ b/doc/nix-installation.md @@ -43,7 +43,7 @@ Hopefully, this alleviates any worry about installing a complex program on your > **NOTE:** You don't need this step if you're running NixOS, which comes with Nix baked in. -Though the latest version of Nix is Nix 2.24.9, we'll be installing the version that the last release of NixOS (24.05) uses, specifically Nix 2.18.8. As discussed in the included [introduction to Nix](nix-introduction.md), this version is considered stable by the Nix community. +Though the latest version of Nix is Nix 2.24.10, we'll be installing the version that the last release of NixOS (24.05) uses, specifically Nix 2.18.8. As discussed in the included [introduction to Nix](nix-introduction.md), this version is considered stable by the Nix community. The following command calls the official installation script for the recommended version of Nix. Note, this script will require `sudo` access. diff --git a/doc/nix-introduction.md b/doc/nix-introduction.md index 997d05b..5c61f79 100644 --- a/doc/nix-introduction.md +++ b/doc/nix-introduction.md @@ -196,7 +196,7 @@ However, if industrial users move to flakes to address these problems, we have t ### Nix quick releases compete with stability -The latest major version of the Nix package manager is currently Nix 2.24.9, but NixOS 24.05, the latest stable release of NixOS, uses Nix 2.18.8. NixOS is the primary way the Nix package manager gets used in the field. Far fewer users install Nix as a package manager atop another operating system. From a community perspective it makes sense to consider Nix 2.18.8 the stable release of the package manager. This version gets the most scrutiny and critical bug fixes. +The latest major version of the Nix package manager is currently Nix 2.24.10, but NixOS 24.05, the latest stable release of NixOS, uses Nix 2.18.8. NixOS is the primary way the Nix package manager gets used in the field. Far fewer users install Nix as a package manager atop another operating system. From a community perspective it makes sense to consider Nix 2.18.8 the stable release of the package manager. This version gets the most scrutiny and critical bug fixes. As mentioned above, there are strong reasons to use still-experimental features, particularly flakes. However, APIs and calculated hashes change too frequently in experimental features from version-to-version. By sticking with the version used in NixOS, we get less breaking changes. For example, the [flake.lock](../flake.lock) file included with this project has calculated hashes for dependencies. These hashes were computed with Nix 2.18.8, and could change with later versions. diff --git a/flake.lock b/flake.lock index dcc1ae6..a0c323a 100644 --- a/flake.lock +++ b/flake.lock @@ -48,11 +48,11 @@ }, "nixpkgs-master": { "locked": { - "lastModified": 1731010162, - "narHash": "sha256-N9p842EUdFTWlDr1aYQ/AH82cyOkQhJSk75TaseRxdw=", + "lastModified": 1731014060, + "narHash": "sha256-tZuFUzL54iah1IIdgDInc7yE5J8u9TKBE+aqpdC9Wuk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "c8ce709a65f77d7ef919a09719ff6c9e45e538a7", + "rev": "5c687a95f1aa178be3f679d359074aa9dcaf3b2d", "type": "github" }, "original": {