1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Commit graph

9 commits

Author SHA1 Message Date
Valentin Gagarin 07a1507f25 update some comments 2024-04-05 17:17:53 +02:00
Silvan Mosberger f4794639c6 Various improvements to the dynamically generated Nix versions
- Use separate JSON files to track sources for Nixpkgs and Nix releases
  This greatly simplifies the code, because we can directly encode
  versions as keys without ambiguity
- Avoid an instance of IFD for the redirect generation
- Use pkgs.substitute instead of builtins.replaceStrings
- Turn off the single-page feature for now. It was added by Valentin in
  a previous commit, but I think we should discuss this a bit more
- Simplify a lot of the code and add comments
- Fix the mutable redirects, they were broken by a parent commit
- Remove pieces of Nix code that weren't used, like the import of the
  Nixpkgs manual. This can be added in the future when necessary
- Make sure that Nix versions are cached by building from the store path
2024-04-04 02:04:56 +02:00
Valentin Gagarin e837576351 refactor
this change also places all historical Nix manuals under a stable URL
2024-04-03 13:59:14 +02:00
Valentin Gagarin 2e867e05e3 pin to known-good revision
before that, the script was semantically wrong as it pinned to the tip
of the branch.
2024-04-03 09:21:26 +02:00
Valentin Gagarin 751f62916b multiline awk script for readability 2024-04-03 09:21:26 +02:00
Valentin Gagarin 0a70dbf90c deep clone, optimise checkouts 2024-04-03 09:21:26 +02:00
Valentin Gagarin a7fb1513b5 only fetch branches that differ from pins 2024-04-03 09:21:26 +02:00
Valentin Gagarin c7374d4b7f only fetch release branches 2024-04-03 09:21:26 +02:00
Valentin Gagarin 161bba2625 add script to update Nix release branches 2024-04-03 09:21:26 +02:00