status-react/nix/lib
Siddarth Kumar 4eff9cc39c
fix: don't show trace message when default is set (#18464)
`getEnvWithDefault.nix` prints a trace message in console when a default value is not set. 

In this commit we add a check to see if default value matches the value of that env var.
Otherwise we get log messages like these when running `make run-ios`

```
trace: getEnvWithDefault IOS_STATUS_GO_TARGETS 
(default: ios/arm64;iossimulator/amd64): ios/arm64;iossimulator/amd64
trace: getEnvWithDefault IOS_STATUS_GO_TARGETS 
(default: ios/arm64;iossimulator/amd64): ios/arm64;iossimulator/amd64
```

We also fix a tiny mistake in `make run-ios` status-go target by updating the delimiter to be a semi-colon instead of a comma.
2024-01-11 14:57:28 +05:30
..
checkEnvVarSet.nix nix: add support for INFURA_TOKEN var for Android build 2020-10-08 17:55:24 +02:00
default.nix nix: switch status-im config to env vars, cleanup 2023-08-07 14:50:36 +02:00
getEnvWithDefault.nix fix: don't show trace message when default is set (#18464) 2024-01-11 14:57:28 +05:30
mergeSh.nix nix: add support for more build inputs in mergeSh 2020-05-15 16:19:27 +02:00
mkFilter.nix
mkFilter_test.nix nix: cleanup of unused variables 2022-05-31 12:03:20 +02:00
sanitizeVersion.nix nix: switch status-im config to env vars, cleanup 2023-08-07 14:50:36 +02:00