Skip to content

Commit

Permalink
use coreutils date on macos (digital-asset#9228)
Browse files Browse the repository at this point in the history
macOS uses BSD date by default which has slightly different options.

CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
garyverhaegen-da authored Mar 24, 2021
1 parent eb80e7b commit 7c4b32a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/clean-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ steps:
- bash: |
set -euo pipefail
eval $(dev-env/bin/dade-assist)
exec 1> >(while IFS= read -r line; do echo "$(date -Is) [out]: $line"; done)
exec 2> >(while IFS= read -r line; do echo "$(date -Is) [err]: $line"; done >&2)
Expand Down
1 change: 1 addition & 0 deletions dev-env/bin/date
1 change: 1 addition & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ in rec {
# String mangling tooling.
base64 = pkgs.coreutils;
bc = pkgs.bc;
date = pkgs.coreutils;
find = pkgs.findutils;
gawk = bazel_dependencies.gawk;
grep = pkgs.gnugrep;
Expand Down

0 comments on commit 7c4b32a

Please sign in to comment.