nextstrain / conda-base

Conda package build for nextstrain-base
https://anaconda.org/Nextstrain/nextstrain-base
1 stars 1 forks source link

fix: macos compat, use date -u instead of --utc #12

Closed corneliusroemer closed 1 year ago

corneliusroemer commented 1 year ago

Description of proposed changes

Resolves #9

macos seems to use the bsd date CLI rather than gnu date.

BSD doesn't have the long option --utc, but the short one. Gnu date doesn't seem to care, is fine with both, so this seems a simple compatibility fix.

This also seems to resolve #11

corneliusroemer commented 1 year ago

Installing coreutils sounds reasonable.

I'm not sure how the whole PATH situation works though - it's a bit opaque to me where you decided which date to run.

corneliusroemer commented 1 year ago

Superseded by #15