Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
allow Nix builds by skipping isGitRepo for Nimble
Because `isGitRepo()` call requires `/bin/sh` it will always fail when building Nim in a Nix build sandbox, and the check doesn't even make sense if Nix already provides Nimble source code. Since for Nimble `allowBundled` is set to `true` this effectlvely does not change behavior for normal builds, but does avoid ugly hacks when building in Nix. Reference: status-im/nimbus-eth2#6180 (comment) Signed-off-by: Jakub Sokołowski <jakub@status.im>
- Loading branch information