From 514cc6ea057f2946c301bdbfd0439dd3e572502c Mon Sep 17 00:00:00 2001 From: Florian Sesser <florian@private.storage> Date: Wed, 13 Apr 2022 12:35:24 +0000 Subject: [PATCH] Move update-nixpkgs / diff-closures docs to proper place --- docs/dev/README.rst | 11 +++++++++++ tools/update-nixpkgs.rst | 8 -------- 2 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 tools/update-nixpkgs.rst diff --git a/docs/dev/README.rst b/docs/dev/README.rst index 36af5307..a437c26f 100644 --- a/docs/dev/README.rst +++ b/docs/dev/README.rst @@ -56,6 +56,17 @@ That will update ``nixpkgs.json`` to the latest release on the nixos release cha To update the channel, the script will need to be updated, along with the filenames that have the channel in them. +To create a text summary of what an update changes - to put in Merge Requests, for example - run: + +.. code: shell + + nix-build -A morph -o result-before + update-nixpkgs + nix-build -A morph -o result-after + nix-shell -p nixUnstable + nix --extra-experimental-features nix-command store diff-closures ./result-before/ ./result-after/ + + Gitlab Repositories ``````````````````` To update the version of packages we import from gitlab, run: diff --git a/tools/update-nixpkgs.rst b/tools/update-nixpkgs.rst deleted file mode 100644 index 3888ecaa..00000000 --- a/tools/update-nixpkgs.rst +++ /dev/null @@ -1,8 +0,0 @@ -To create a nice summary text to of what an update will change - to put in Merge Requests, for example - run:: - - nix-build -A morph -o result-before - update-nixpkgs - nix-build -A morph -o result-after - nix-shell -p nixUnstable - nix --extra-experimental-features nix-command store diff-closures ./result-before/ ./result-after/ - -- GitLab