Skip to content

Commit

Permalink
Add nix language code
Browse files Browse the repository at this point in the history
  • Loading branch information
raddevon committed Jan 25, 2024
1 parent 9896c36 commit df62deb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guides/contributing/code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ On Ubuntu 22.10, these can be installed by running:
A Nix shell with all dependencies and a Python virtual environment can
be built with the following ``shell.nix`` file.

.. code::
.. code:: nix
with import <nixpkgs> {};
pkgs.mkShell {
Expand Down
3 changes: 2 additions & 1 deletion tests/test_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ def run_block_test(self, block):
'tsx',
'elixir',
'toml',
'sql'
'sql',
'nix'
}:
pass
elif lang[-5:] == '-diff':
Expand Down

0 comments on commit df62deb

Please sign in to comment.