From 602fa25bef368e7949f74f7ac6ca3964d4ff1920 Mon Sep 17 00:00:00 2001 From: con-f-use Date: Sat, 28 Sep 2024 00:16:03 +0200 Subject: [PATCH] docs: fix links in "Automatic package updates" --- pkgs/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/README.md b/pkgs/README.md index 8c0e52458fb0..1e565f1b587b 100644 --- a/pkgs/README.md +++ b/pkgs/README.md @@ -745,7 +745,7 @@ stdenv.mkDerivation { Nixpkgs periodically tries to update all packages that have a `passthru.updateScript` attribute. > [!Note] -> A common pattern is to use the [`nix-update-script`](../pkgs/common-updater/nix-update.nix) attribute provided in Nixpkgs, which runs [`nix-update`](https://github.com/Mic92/nix-update): +> A common pattern is to use the [`nix-update-script`](../pkgs/by-name/ni/nix-update/nix-update-script.nix) attribute provided in Nixpkgs, which runs [`nix-update`](https://github.com/Mic92/nix-update): > > ```nix > { stdenv, nix-update-script }: @@ -755,7 +755,7 @@ Nixpkgs periodically tries to update all packages that have a `passthru.updateSc > } > ``` > -> For simple packages, this is often enough, and will ensure that the package is updated automatically by [`nixpkgs-update`](https://ryantm.github.io/nixpkgs-update) when a new version is released. +> For simple packages, this is often enough, and will ensure that the package is updated automatically by [`nixpkgs-update`](https://github.com/nix-community/nixpkgs-update) when a new version is released. > The [update bot](https://nix-community.org/update-bot) runs periodically to attempt to automatically update packages, and will run `passthru.updateScript` if set. > While not strictly necessary if the project is listed on [Repology](https://repology.org), using `nix-update-script` allows the package to update via many more sources (e.g. GitHub releases).