Skip to content

Conversation

@bobvanderlinden
Copy link
Contributor

@bobvanderlinden bobvanderlinden commented Apr 21, 2023

Currently devenv uses the date executable that is available in PATH. This means that under OSX a date executable is used that doesn't support N formatting, which leads to gc directories being stored in seconds instead of milliseconds.

This patch makes sure that date from coreutils is always used. This should fix problems with conflicting gc files when multiple devenv's are building in parallel.

I ran into this issue because collegues under MacOS were getting the following error:

image

Notice the N at the end 😢

Currently devenv uses the date executable that is available in PATH.
This means that under OSX a date executable is used that doesn't support
`N` formatting, which leads to `gc` directories being stored in seconds
instead of milliseconds.

This patch makes sure that date from coreutils is always used. This
should fix problems with conflicting gc files when multiple devenv's are
building in parallel.
@domenkozar domenkozar merged commit 3ce904a into cachix:main Apr 21, 2023
@bobvanderlinden bobvanderlinden deleted the pr-coreutils-date branch April 21, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants