about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix/runTestsuite/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nix/runTestsuite/default.nix b/nix/runTestsuite/default.nix
index 5bb0ce1f8511..78cf5389e42a 100644
--- a/nix/runTestsuite/default.nix
+++ b/nix/runTestsuite/default.nix
@@ -37,7 +37,8 @@ let
     bool
     ;
 
-  bins = depot.nix.getBins pkgs.coreutils [ "printf" "touch" ];
+  bins = depot.nix.getBins pkgs.coreutils [ "printf" ]
+      // depot.nix.getBins pkgs.s6-portable-utils [ "s6-touch" ];
 
   # Returns true if the given expression throws when `deepSeq`-ed
   throws = expr:
@@ -161,7 +162,7 @@ let
         then depot.nix.runExecline.local "testsuite-${name}-successful" {} [
           "importas" "out" "out"
           "if" [ bins.printf "%s\n" "testsuite ${name} successful!" ]
-          bins.touch "$out"
+          bins.s6-touch "$out"
         ]
         else depot.nix.runExecline.local "testsuite-${name}-failed" {} [
           "importas" "out" "out"