Skip to content

Commit

Permalink
fix traps on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Jul 11, 2023
1 parent cbb5b96 commit cae4522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
'';
scripts.devenv-test-example.exec = ''
# execute all trap_ function on exit
trap 'eval $(declare -F | grep -oP "trap_[^ ]+" | tr "\n" ";")' EXIT
trap 'eval $(declare -F | grep -o "trap_[^ ]*" | tr "\n" ";")' EXIT
set -e
example="$PWD/examples/$1"
Expand Down
2 changes: 1 addition & 1 deletion examples/clickhouse/devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
services.clickhouse = {
enable = true;
config = ''
http_port: 8123
http_port: 9000
listen_host: 127.0.0.1
'';
};
Expand Down

0 comments on commit cae4522

Please sign in to comment.