Skip to content

Commit

Permalink
nixos/testing: fix after --set ceased to evaluate the value
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Nov 19, 2017
1 parent 3c81b76 commit 50d8720
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nixos/lib/testing.nix
Expand Up @@ -113,8 +113,7 @@ rec {
--add-flags "''${vms[*]}" \
${lib.optionalString enableOCR
"--prefix PATH : '${ocrProg}/bin:${imagemagick}/bin'"} \
--run "testScript=\"\$(cat $out/test-script)\"" \
--set testScript '$testScript' \
--run "export testScript=\"\$(cat $out/test-script)\"" \
--set VLANS '${toString vlans}'
ln -s ${testDriver}/bin/nixos-test-driver $out/bin/nixos-run-vms
wrapProgram $out/bin/nixos-run-vms \
Expand Down

0 comments on commit 50d8720

Please sign in to comment.