diff --git a/docs/dev/README.rst b/docs/dev/README.rst index 29300baaba96bac2cc00038c4dfe73f595491731..a437c26f48c4ff65b3389d333be245ee5fb5ba14 100644 --- a/docs/dev/README.rst +++ b/docs/dev/README.rst @@ -51,11 +51,22 @@ To update the version of NixOS we deploy with, run: nix-shell --run 'update-nixpkgs' -That will update ``nixpkgs-2015.json`` to the latest release on the nixos-21.05 channel. +That will update ``nixpkgs.json`` to the latest release on the nixos release channel. 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: