this derivation will be built: /nix/store/y5da9dix9kcmj4l698bd4gxp942igp9j-pre-commit-run.drv error: Cannot build '/nix/store/y5da9dix9kcmj4l698bd4gxp942igp9j-pre-commit-run.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/2v084823fxfqi9iibkds45ijz74vndm1-pre-commit-run Last 25 log lines: > > versioning-scheme........................................................Passed > - hook id: versioning-scheme > - duration: 0.01s > diff --git a/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh b/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh > index 28545ed..563e3ae 100755 > --- a/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh > +++ b/ansible/files/admin_api_scripts/pg_upgrade_scripts/prepare.sh > @@ -87,11 +87,11 @@ if ! umount_out=$(umount /data 2>&1); then > shopt -s nullglob > > QUOTING_STYLE=literal stat -c '%U %N' /proc/[0-9]*/cwd 2>/dev/null | > - sed -nE 's|^(\S+) /proc/([0-9]+)/cwd -> /data(/.*)?$|\1 \2|p' | > - while read -r user pid; do > - comm=$(cat "/proc/$pid/comm" 2>/dev/null) || continue > - log "user: ${user} pid: ${pid} command: ${comm}" > - done > + sed -nE 's|^(\S+) /proc/([0-9]+)/cwd -> /data(/.*)?$|\1 \2|p' | > + while read -r user pid; do > + comm=$(cat "/proc/$pid/comm" 2>/dev/null) || continue > + log "user: ${user} pid: ${pid} command: ${comm}" > + done > > exit 1 > fi For full logs, run: nix log /nix/store/y5da9dix9kcmj4l698bd4gxp942igp9j-pre-commit-run.drv