From 49f411c08c7a7c07f5a48291368ab553bbdb0fca Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 25 Jul 2025 10:15:13 +0200 Subject: [PATCH] Update developer facing links to nix.dev Not broken, but it's a tiny bit quicker --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- .github/ISSUE_TEMPLATE/feature_request.md | 2 +- .github/ISSUE_TEMPLATE/installer.md | 2 +- .github/ISSUE_TEMPLATE/missing_documentation.md | 2 +- CONTRIBUTING.md | 2 +- src/libcmd/include/nix/cmd/common-eval-args.hh | 2 +- src/libflake/include/nix/flake/flakeref.hh | 6 +++--- src/libutil/include/nix/util/args.hh | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index a5005f8a0..af94c3e9e 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -45,7 +45,7 @@ assignees: '' - [ ] checked [latest Nix manual] \([source]) - [ ] checked [open bug issues and pull requests] for possible duplicates -[latest Nix manual]: https://nixos.org/manual/nix/unstable/ +[latest Nix manual]: https://nix.dev/manual/nix/development/ [source]: https://github.com/NixOS/nix/tree/master/doc/manual/source [open bug issues and pull requests]: https://github.com/NixOS/nix/labels/bug diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index c75a46951..fe9f9dd20 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -30,7 +30,7 @@ assignees: '' - [ ] checked [latest Nix manual] \([source]) - [ ] checked [open feature issues and pull requests] for possible duplicates -[latest Nix manual]: https://nixos.org/manual/nix/unstable/ +[latest Nix manual]: https://nix.dev/manual/nix/development/ [source]: https://github.com/NixOS/nix/tree/master/doc/manual/source [open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature diff --git a/.github/ISSUE_TEMPLATE/installer.md b/.github/ISSUE_TEMPLATE/installer.md index ed5e1ce87..070e0bd9b 100644 --- a/.github/ISSUE_TEMPLATE/installer.md +++ b/.github/ISSUE_TEMPLATE/installer.md @@ -38,7 +38,7 @@ assignees: '' - [ ] checked [latest Nix manual] \([source]) - [ ] checked [open installer issues and pull requests] for possible duplicates -[latest Nix manual]: https://nixos.org/manual/nix/unstable/ +[latest Nix manual]: https://nix.dev/manual/nix/development/ [source]: https://github.com/NixOS/nix/tree/master/doc/manual/source [open installer issues and pull requests]: https://github.com/NixOS/nix/labels/installer diff --git a/.github/ISSUE_TEMPLATE/missing_documentation.md b/.github/ISSUE_TEMPLATE/missing_documentation.md index 6c334b722..4e05b626d 100644 --- a/.github/ISSUE_TEMPLATE/missing_documentation.md +++ b/.github/ISSUE_TEMPLATE/missing_documentation.md @@ -22,7 +22,7 @@ assignees: '' - [ ] checked [latest Nix manual] \([source]) - [ ] checked [open documentation issues and pull requests] for possible duplicates -[latest Nix manual]: https://nixos.org/manual/nix/unstable/ +[latest Nix manual]: https://nix.dev/manual/nix/development/ [source]: https://github.com/NixOS/nix/tree/master/doc/manual/source [open documentation issues and pull requests]: https://github.com/NixOS/nix/labels/documentation diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad8678962..7231730bb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -89,7 +89,7 @@ Check out the [security policy](https://github.com/NixOS/nix/security/policy). ## Making changes to the Nix manual -The Nix reference manual is hosted on https://nixos.org/manual/nix. +The Nix reference manual is hosted on https://nix.dev/manual/nix. The underlying source files are located in [`doc/manual/source`](./doc/manual/source). For small changes you can [use GitHub to edit these files](https://docs.github.com/en/repositories/working-with-files/managing-files/editing-files) For larger changes see the [Nix reference manual](https://nix.dev/manual/nix/development/development/contributing.html). diff --git a/src/libcmd/include/nix/cmd/common-eval-args.hh b/src/libcmd/include/nix/cmd/common-eval-args.hh index 2a0499477..62518ba0e 100644 --- a/src/libcmd/include/nix/cmd/common-eval-args.hh +++ b/src/libcmd/include/nix/cmd/common-eval-args.hh @@ -82,7 +82,7 @@ private: }; /** - * @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory) + * @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary#gloss-base-directory) */ SourcePath lookupFileArg(EvalState & state, std::string_view s, const Path * baseDir = nullptr); diff --git a/src/libflake/include/nix/flake/flakeref.hh b/src/libflake/include/nix/flake/flakeref.hh index 12d337230..c8c536bce 100644 --- a/src/libflake/include/nix/flake/flakeref.hh +++ b/src/libflake/include/nix/flake/flakeref.hh @@ -81,7 +81,7 @@ struct FlakeRef std::ostream & operator<<(std::ostream & str, const FlakeRef & flakeRef); /** - * @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory) + * @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory) */ FlakeRef parseFlakeRef( const fetchers::Settings & fetchSettings, @@ -92,7 +92,7 @@ FlakeRef parseFlakeRef( bool preserveRelativePaths = false); /** - * @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory) + * @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory) */ std::pair parseFlakeRefWithFragment( const fetchers::Settings & fetchSettings, @@ -103,7 +103,7 @@ std::pair parseFlakeRefWithFragment( bool preserveRelativePaths = false); /** - * @param baseDir Optional [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory) + * @param baseDir Optional [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory) */ std::tuple parseFlakeRefWithFragmentAndExtendedOutputsSpec( const fetchers::Settings & fetchSettings, diff --git a/src/libutil/include/nix/util/args.hh b/src/libutil/include/nix/util/args.hh index 5e64ae1d9..443db445f 100644 --- a/src/libutil/include/nix/util/args.hh +++ b/src/libutil/include/nix/util/args.hh @@ -51,8 +51,8 @@ public: } /** - * @brief Get the [base directory](https://nixos.org/manual/nix/unstable/glossary#gloss-base-directory) for the - * command. + * @brief Get the [base directory](https://nix.dev/manual/nix/development/glossary.html#gloss-base-directory) for + * the command. * * @return Generally the working directory, but in case of a shebang * interpreter, returns the directory of the script.