diff --git a/doc/internal/params.el b/doc/internal/params.el
index ad212a9..548e2c8 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.23.3")
+ (nix-latest . "2.24.1")
(nix-stable . "2.18.5")
(nixos-latest . "24.05")
(platforms . "\n\
diff --git a/doc/nix-installation.md b/doc/nix-installation.md
index 74f77eb..aca905f 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.23.3, we'll be installing the version that the last release of NixOS (24.05) uses, specifically Nix 2.18.5. 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.1, we'll be installing the version that the last release of NixOS (24.05) uses, specifically Nix 2.18.5. 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 25ec3ea..8a29d6e 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.23.3, but NixOS 24.05, the latest stable release of NixOS, uses Nix 2.18.5. 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.5 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.1, but NixOS 24.05, the latest stable release of NixOS, uses Nix 2.18.5. 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.5 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.5, and could change with later versions.
diff --git a/doc/nix-usage-flakes.md b/doc/nix-usage-flakes.md
index cc627a1..3f18c12 100644
--- a/doc/nix-usage-flakes.md
+++ b/doc/nix-usage-flakes.md
@@ -266,7 +266,7 @@ After a successful call of `nix build`, you'll see one or more symlinks for each
readlink result*
```
- /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+ /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
Following these symlinks, we can see the files the project provides:
@@ -288,7 +288,7 @@ It's common to configure these “result” symlinks as ignored in source contro
nix path-info .#org2gfm
```
- /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+ /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
## Running commands in a shell
@@ -401,7 +401,7 @@ nix shell --ignore-environment \
--command which org2gfm
```
- /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm/bin/org2gfm
+ /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm/bin/org2gfm
What we do with local flake references can work just as well with remote flake references.
@@ -429,7 +429,7 @@ nix profile list
Flake attribute: packages.x86_64-linux.org2gfm
Original flake URL: git+file:///home/shajra/src/nix-project
Locked flake URL: git+file:///home/shajra/src/nix-project
- Store paths: /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+ Store paths: /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
If we want to uninstall a program from our profile, we do so by the index from this list:
diff --git a/doc/nix-usage-flakes.org b/doc/nix-usage-flakes.org
index 3d351df..1580075 100644
--- a/doc/nix-usage-flakes.org
+++ b/doc/nix-usage-flakes.org
@@ -438,7 +438,7 @@ readlink result*
#+end_src
#+RESULTS: nix-build-link
-: /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+: /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
Following these symlinks, we can see the files the project provides:
@@ -467,7 +467,7 @@ nix path-info .#<>
#+end_src
#+results: nix-build-path
-: /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+: /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
** Running commands in a shell
@@ -629,7 +629,7 @@ nix shell --ignore-environment \
#+end_src
#+RESULTS: nix-shell-remote
-: /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm/bin/org2gfm
+: /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm/bin/org2gfm
What we do with local flake references can work just as well with remote flake
references.
@@ -680,7 +680,7 @@ nix profile list --profile /tmp/nix-profile | ansifilter
: Flake attribute: packages.x86_64-linux.org2gfm
: Original flake URL: git+file:///home/shajra/src/nix-project
: Locked flake URL: git+file:///home/shajra/src/nix-project
-: Store paths: /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+: Store paths: /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
If we want to uninstall a program from our profile, we do so by the index from
this list:
diff --git a/doc/nix-usage-noflakes.md b/doc/nix-usage-noflakes.md
index a4d3921..e0b4ff6 100644
--- a/doc/nix-usage-noflakes.md
+++ b/doc/nix-usage-noflakes.md
@@ -161,7 +161,7 @@ We can build this package with `nix-build` from the project root:
nix-build --attr packages.x86_64-linux.org2gfm .
```
- /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+ /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
If we omit the path to a Nix file, `nix-build` will try to build `default.nix` in the current directory. If we omit the `--attr` switch and argument, `nix-build` will try to build packages it finds in the root of the attribute tree.
@@ -173,7 +173,7 @@ The output of `nix-build` shows us where in `/nix/store` our package has been bu
readlink result*
```
- /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+ /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
Following these symlinks, we can see the files the project provides:
diff --git a/doc/nix-usage-noflakes.org b/doc/nix-usage-noflakes.org
index 38a0a74..dff8640 100644
--- a/doc/nix-usage-noflakes.org
+++ b/doc/nix-usage-noflakes.org
@@ -305,7 +305,7 @@ nix-build --attr <> .
#+end_src
#+RESULTS: nix-build
-: /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+: /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
If we omit the path to a Nix file, =nix-build= will try to build =default.nix=
in the current directory. If we omit the =--attr= switch and argument,
@@ -328,7 +328,7 @@ readlink result*
#+end_src
#+RESULTS: nix-build-link
-: /nix/store/vgsqy4nmsravl5dbi5vr4q88q8pq0xxz-org2gfm
+: /nix/store/pf0g885myl26nmcln8ldhzv5c7nx78vf-org2gfm
Following these symlinks, we can see the files the project provides:
diff --git a/flake.lock b/flake.lock
index 7d2c217..fc34c44 100644
--- a/flake.lock
+++ b/flake.lock
@@ -21,11 +21,11 @@
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
- "lastModified": 1719994518,
- "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=",
+ "lastModified": 1722555600,
+ "narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7",
+ "rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
"type": "github"
},
"original": {
@@ -36,23 +36,23 @@
},
"nixpkgs-lib": {
"locked": {
- "lastModified": 1719876945,
- "narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=",
+ "lastModified": 1722555339,
+ "narHash": "sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q=",
"type": "tarball",
- "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
+ "url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz"
},
"original": {
"type": "tarball",
- "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz"
+ "url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz"
}
},
"nixpkgs-master": {
"locked": {
- "lastModified": 1722384070,
- "narHash": "sha256-useAJ7VUcyuBpEFut1MKC5vI+IjtC9ur0thPL6sd6Ao=",
+ "lastModified": 1723340997,
+ "narHash": "sha256-UFoiQ2/KnyMd+WNyE3f+f42CU73pvu0/+c8RZ3JZ2F0=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "c8a944b72484faf7445e412adc23fff168c8eae0",
+ "rev": "1c8d2e0713158afab4f252b172009fe9b116bc18",
"type": "github"
},
"original": {
@@ -64,11 +64,11 @@
},
"nixpkgs-stable-darwin": {
"locked": {
- "lastModified": 1722272837,
- "narHash": "sha256-iHO942tXSkiZ0ZhWkfqCvqo9/67+S6WYfphXSJogEmM=",
+ "lastModified": 1723240379,
+ "narHash": "sha256-yMGB8j2NwDHBb8ODvNbFVCPLzUjx71sqQwelzmxJook=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "89526a7d969e38fe8c30253170d44d0f131882de",
+ "rev": "aa9cfafc2a8dd21b11359ef32e318246d8de226c",
"type": "github"
},
"original": {
@@ -80,11 +80,11 @@
},
"nixpkgs-stable-linux": {
"locked": {
- "lastModified": 1722221733,
- "narHash": "sha256-sga9SrrPb+pQJxG1ttJfMPheZvDOxApFfwXCFO0H9xw=",
+ "lastModified": 1722987190,
+ "narHash": "sha256-68hmex5efCiM2aZlAAEcQgmFI4ZwWt8a80vOeB/5w3A=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "12bf09802d77264e441f48e25459c10c93eada2e",
+ "rev": "21cc704b5e918c5fbf4f9fff22b4ac2681706d90",
"type": "github"
},
"original": {
@@ -96,11 +96,11 @@
},
"nixpkgs-unstable": {
"locked": {
- "lastModified": 1722141560,
- "narHash": "sha256-Ul3rIdesWaiW56PS/Ak3UlJdkwBrD4UcagCmXZR9Z7Y=",
+ "lastModified": 1723221148,
+ "narHash": "sha256-7pjpeQlZUNQ4eeVntytU3jkw9dFK3k1Htgk2iuXjaD8=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "038fb464fcfa79b4f08131b07f2d8c9a6bcc4160",
+ "rev": "154bcb95ad51bc257c2ce4043a725de6ca700ef6",
"type": "github"
},
"original": {