aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 07:26:34 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 07:26:34 +0100
commit859da103ae071538c397ddcabf49d2c19d12becc (patch)
treebf5f67a01de8eb82df7ed949321e17ce050ae05e /tests
parent1d6ae6f9ff2122b839a13aab7acc2c8190b9e647 (diff)
Merge pull request #9637 from 9999years/fix-logging-test-on-macos
Fix `logging.sh` test on macOS (cherry picked from commit 94a03a810e948f65776c3386d9a5234db551dc9e) Change-Id: I65dde18ee53ccded31790e0cf1f836c3ad6dc492
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/logging.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/logging.sh b/tests/functional/logging.sh
index 1481b9b36..1ccc21d0b 100644
--- a/tests/functional/logging.sh
+++ b/tests/functional/logging.sh
@@ -15,7 +15,7 @@ nix-build dependencies.nix --no-out-link --compress-build-log
[ "$(nix-store -l $path)" = FOO ]
# test whether empty logs work fine with `nix log`.
-builder="$(mktemp)"
+builder="$(realpath "$(mktemp)")"
echo -e "#!/bin/sh\nmkdir \$out" > "$builder"
outp="$(nix-build -E \
'with import ./config.nix; mkDerivation { name = "fnord"; builder = '"$builder"'; }' \