Skip to content

Commit caa435f

Browse files
erikarvstedtJon
authored andcommitted
test-driver.py: specify coreutils dependency
Otherwise the driver script fails when coreutils are not in PATH.
1 parent 77752c6 commit caa435f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nixos/lib/testing-python.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ in rec {
155155
--add-flags "''${vms[*]}" \
156156
${lib.optionalString enableOCR
157157
"--prefix PATH : '${ocrProg}/bin:${imagemagick_tiff}/bin'"} \
158-
--run "export testScript=\"\$(cat $out/test-script)\"" \
158+
--run "export testScript=\"\$(${coreutils}/bin/cat $out/test-script)\"" \
159159
--set VLANS '${toString vlans}'
160160
ln -s ${testDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
161161
wrapProgram $out/bin/nixos-run-vms \

0 commit comments

Comments
 (0)