Skip to content
Snippets Groups Projects
Commit da8793e0 authored by Florian Sesser's avatar Florian Sesser
Browse files

Merge branch 'add-nixpkgs-update-howto' into 'develop'

Add update-nixpkgs / diff-closures documentation

See merge request !288
parents 2a1e5378 514cc6ea
No related branches found
No related tags found
2 merge requests!293merge develop into production,!288Add update-nixpkgs / diff-closures documentation
Pipeline #2009 failed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment