status-mobile/nix/pkgs/watchman
Anton Iakimov 07d037f2e1
nix: downgrade watchman to 4.9.0
watchman was upgraded significantly during the last #14944 (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between):
status-im/nixpkgs@4e9c02b

Probably causing developers to have "too many files open" issue #16341

This PR is an attempt to fix the issue by downgrading the watchman

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-07-02 08:46:28 +02:00
..
README.md
default.nix

README.md

Issue

watchman was upgraded significantly during the last nixpkgs upgrade (4.9.0 (Aug 16, 2017) to 2023.01.30.00 - 6 years between):

Probably causing developers to have "too many files open" issue: https://github.com/status-im/status-mobile/issues/16341

Error: A non-recoverable condition has triggered.  Watchman needs your help!
The triggering condition was at timestamp=1687286390: opendir(/Users/javid/Projects/status-mobile/node_modules/metro-core/node_modules/jest-regex-util/build) -> Too many open files
All requests will continue to fail with this message until you resolve
the underlying problem.  You will find more information on fixing this at
https://facebook.github.io/watchman/docs/troubleshooting.html#poison-opendir

Fix

This is an attempt to fix the issue by downgrading the watchman

Upgrade

When upgrading in the future, please read the comments: https://github.com/status-im/status-mobile/issues/16341