From b51dd85e6ec43709c69f235856e805e326e122f1 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:10:01 +0100 Subject: [PATCH] document how to update a flakes legacyPackages Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1d67552..44d0747 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,8 @@ $ nix-update attribute --flake [--version version] `nix-update` will than try to update either the `packages.{currentSystem}.{attribute}` or `{attribute}` output attribute of the -given flake. +given flake. To update a package in `legacyPackages`, pass the full path to that +package including the platform: `legacyPackages.{platform}.{attribute}`. This example will fetch the latest github release: