Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

use date from coreutils #545

Merged
merged 1 commit into from
Apr 21, 2023
Merged

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.

None yet

2 participants