Skip to content

Commit

Permalink
Improve docs.
Browse files Browse the repository at this point in the history
Signed-off-by: Rolf Schröder <[email protected]>
  • Loading branch information
rolfschr committed Dec 12, 2020
1 parent ae96dcc commit 7dfdc99
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ There are several options to use the Nix version

::

# Enter an interactive environment with all dependencies setup.
# Enter an interactive environment with all dependencies set up.
cd etc/nix
nix develop
> ../../manage.py ... # invoke the local checkout
Expand All @@ -162,7 +162,7 @@ There are several options to use the Nix version

The Nix installation uses `mach-nix <https://github.com/DavHau/mach-nix>`__ to handle Python dependencies because some dependencies are currently not available as Nix packages.
All Python dependencies are automatically fetched from ``./requirements.txt``.
Non-Python dependencies are curated in ``etc/nix/flake.nix:Vulnerablecode.propagatedBuildInputs``.
Non-Python dependencies are curated in ``etc/nix/flake.nix:vulnerablecode.propagatedBuildInputs``.


Tests
Expand Down
1 change: 1 addition & 0 deletions etc/nix/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
version = builtins.head (builtins.match ''.*version=["']?([^"',]+).*''
(builtins.readFile (vulnerablecode-src + "/setup.py")));

# Common shell code.
libSh = ./lib.sh;

# System types to support.
Expand Down
2 changes: 1 addition & 1 deletion etc/nix/lib.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Setup postgres; see the README.md for the the latest instructions.
# Setup postgres; see the README.md for the latest instructions.
#
# $RUNDIR is used to prevent postgres from accessings its default run dir at
# /run/postgresql. See
Expand Down

0 comments on commit 7dfdc99

Please sign in to comment.