Skip to content

Commit

Permalink
fix(ci): resolve issue with non-gnu sed (bsd sed on darwin)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjydev committed Dec 1, 2023
1 parent 0bd3072 commit b41dc89
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions hack/test-darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ cd "$dir"

nix flake init -t "$root#darwin"

sed -i "s/<password>/password/g" flake.nix
sed -i "s/<username>/user/g" flake.nix
sed -i "s/throw //g" flake.nix
sed -i "s/ # TODO.*$//g" flake.nix
sed -i '' "s/<username>/user/g" flake.nix
sed -i '' "s/throw //g" flake.nix
sed -i '' "s/ # TODO.*$//g" flake.nix

cat flake.nix

Expand Down

0 comments on commit b41dc89

Please sign in to comment.