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

Fix docs code blocks

parent 514cc6ea
No related branches found
No related tags found
2 merge requests!293merge develop into production,!289Fix docs code blocks
Pipeline #2008 passed
...@@ -45,9 +45,7 @@ Updatings Pins ...@@ -45,9 +45,7 @@ Updatings Pins
Nixpkgs Nixpkgs
``````` ```````
To update the version of NixOS we deploy with, run: To update the version of NixOS we deploy with, run::
.. code: shell
nix-shell --run 'update-nixpkgs' nix-shell --run 'update-nixpkgs'
...@@ -56,9 +54,7 @@ That will update ``nixpkgs.json`` to the latest release on the nixos release cha ...@@ -56,9 +54,7 @@ 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, To update the channel, the script will need to be updated,
along with the filenames that have the channel in them. 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: 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 nix-build -A morph -o result-before
update-nixpkgs update-nixpkgs
...@@ -69,9 +65,7 @@ To create a text summary of what an update changes - to put in Merge Requests, f ...@@ -69,9 +65,7 @@ To create a text summary of what an update changes - to put in Merge Requests, f
Gitlab Repositories Gitlab Repositories
``````````````````` ```````````````````
To update the version of packages we import from gitlab, run: To update the version of packages we import from gitlab, run::
.. code: shell
nix-shell --command 'update-gitlab-repo nixos/pkgs/<package>/repo.json' nix-shell --command 'update-gitlab-repo nixos/pkgs/<package>/repo.json'
......
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