nix: add procps to default shell, and tcl for darwin

Cocoapod installations can fail with errors like:
```
tclsh /Users/jenkins/Library/Caches/CocoaPods/Pods/Release/SQLCipher/3.4.2-f9fcf/tool/addopcodes.tcl parse.h.temp >parse.h
./configure: line 11729: tclsh: command not found
./configure: line 12262: tclsh: command not found
./configure: line 12276: tclsh: command not found
```
If a pure shell is used. Also `pgrep` would be missing from a pure shell.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2023-03-10 10:41:22 +01:00
parent 5380f83cab
commit ff3249c514
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ in mkShell {
buildInputs = with pkgs; lib.unique ([ buildInputs = with pkgs; lib.unique ([
# core utilities that should always be present in a shell # core utilities that should always be present in a shell
bash curl wget file unzip flock bash curl wget file unzip flock procps
git gnumake jq ncurses gnugrep parallel git gnumake jq ncurses gnugrep parallel
lsof # used in start-react-native.sh lsof # used in start-react-native.sh
# build specific utilities # build specific utilities
@ -22,7 +22,7 @@ in mkShell {
# other nice to have stuff # other nice to have stuff
yarn nodejs python27 yarn nodejs python27
] # and some special cases ] # and some special cases
++ lib.optionals stdenv.isDarwin [ cocoapods clang ] ++ lib.optionals stdenv.isDarwin [ cocoapods clang tcl ]
++ lib.optionals (!stdenv.isDarwin) [ gcc8 ] ++ lib.optionals (!stdenv.isDarwin) [ gcc8 ]
); );