status-mobile/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
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
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