Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit 13c04c8

Browse files
committed
fix: minor typo corrections
1 parent 9025ee8 commit 13c04c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Simply run [`r-modules/generate.sh`](nix/pkgs/development/r-modules/generate.sh)
5252
Add the packages name to the appropriate JSON file for each Node version (e.g. [`node-packages/node-packages-v10.json`](nix/pkgs/development/node-packages/node-packages-v10.json). Then run [`node-packages/generate.sh`](nix/pkgs/development/node-packages/generate.sh). Unlike R packages, this might take a while since it will query npm again for all the packages each time.
5353

5454
### How to add Python packages
55-
Add the package name to [`python-packages/requirements.txt`](nix/pkgs/development/node-packages/node-packages-v10.json) then run [`python-packages/generate.sh`](nix/pkgs/development/python-packages/generate.sh). This might take a while since it might try to compile some things. If it fails due to a missing dependency, add it with the `-E` parameter in the `pypi2nix` command of `generate.sh`. If it complains about missing headers try to add the missing dependency with the `-s` parameter.
55+
Add the package name to [`python-modules/requirements.txt`](nix/pkgs/development/python-modules/requirements.txt) then run [`python-modules/generate.sh`](nix/pkgs/development/python-modules/generate.sh). This might take a while since it might try to compile some things. If it fails due to a missing dependency, add it with the `-E` parameter in the `pypi2nix` command of `generate.sh`. If it complains about missing headers try to add the missing dependency with the `-s` parameter.
5656

5757
### How to change the pinned version of upstream [NixOS/nixpkgs](https://github.com/NixOS/nixpkgs/releases)
5858
Edit the version number in the [all-packages.nix](nix/pkgs/top-level/all-packages.nix#L4) file.

src/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ yargs
9191
type: 'array'
9292
})
9393
.option('removes', {
94-
describe: 'Remove packages to environment',
94+
describe: 'Remove packages from environment',
9595
alias: 'r',
9696
type: 'array'
9797
})
@@ -406,7 +406,7 @@ function output (value: any, argv: any = {}, prettifier?: (value: any) => string
406406
* Add output options to a command.
407407
*
408408
* The aim of this approach is to have a consistent
409-
* and convieient way for users to be able to specify
409+
* and convenient way for users to be able to specify
410410
* the output format across commands.
411411
*
412412
* Formats can be specified explicitly e.g.
@@ -459,7 +459,7 @@ function outputOptions (yargs: any) {
459459
* Create a diagnostic message for the user
460460
*
461461
* @param message Message to display
462-
* @param emoji Emjoi to prefix the display
462+
* @param emoji Emoji to prefix the display
463463
*/
464464
function diag (message: string, emoji: string) {
465465
if (process.stderr.isTTY && emoji) process.stderr.write(emoji + ' ')

0 commit comments

Comments
 (0)