Skip to content
Permalink
Browse files

Fix typos

  • Loading branch information...
nmattia committed Sep 22, 2019
1 parent 923f794 commit 09d6e876df1711ea2d152468a81e63b6b15f96e4
Showing with 9 additions and 9 deletions.
  1. +1 −4 README.md
  2. +1 −4 README.tpl.md
  3. +7 −1 script/gen
@@ -46,9 +46,6 @@ necessary for fetching and updating the packages.
`nix/sources.nix` file that returns the sources as a Nix object.
* [Show](#show): shows the packages' information.

The next two sections cover [common use cases](#getting-started) and [full command
description](#commands).

### Configuration

The following environment variables are read by `niv`:
@@ -58,7 +55,7 @@ The following environment variables are read by `niv`:
| GITHUB_TOKEN | When set, the value is used to authenticate GitHub API requests. |
| GITHUB_HOST | The GitHub host to use when fetching packages. Port may be appended here. |
| GITHUB_API_HOST | The host used when performing GitHub API requests. Use `GITHUB_API_PORT` for specifying the port. |
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defauts to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_SECURE`. |
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defaults to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_INSECURE`. |
| GITHUB_INSECURE | When set to anything but the empty string, requests are performed over `http` instead of `https`. |
| GITHUB_PATH | The base path used when performing GitHub API requests. |

@@ -46,9 +46,6 @@ necessary for fetching and updating the packages.
`nix/sources.nix` file that returns the sources as a Nix object.
* [Show](#show): shows the packages' information.

The next two sections cover [common use cases](#getting-started) and [full command
description](#commands).

### Configuration

The following environment variables are read by `niv`:
@@ -58,7 +55,7 @@ The following environment variables are read by `niv`:
| GITHUB_TOKEN | When set, the value is used to authenticate GitHub API requests. |
| GITHUB_HOST | The GitHub host to use when fetching packages. Port may be appended here. |
| GITHUB_API_HOST | The host used when performing GitHub API requests. Use `GITHUB_API_PORT` for specifying the port. |
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defauts to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_SECURE`. |
| GITHUB_API_PORT | The port used when performing GitHub API requests. Defaults to `443` for secure requests. Defaults to `80` for insecure requests. See also: `GITHUB_INSECURE`. |
| GITHUB_INSECURE | When set to anything but the empty string, requests are performed over `http` instead of `https`. |
| GITHUB_PATH | The base path used when performing GitHub API requests. |

@@ -11,4 +11,10 @@ set -euo pipefail
echo "Updating README"

cat $(nix-build -A readme) > README.md
#$(nix-build -A niv-svg-gen)

if [ $# -gt 0 ] && [ $1 == "svg" ]; then
echo "Updating niv.svg"
$(nix-build -A niv-svg-gen)
fi

echo done

0 comments on commit 09d6e87

Please sign in to comment.
You can’t perform that action at this time.