X-Git-Url: http://git.scottworley.com/syncthing-autoregister/blobdiff_plain/0043dc6823fd9acc5199976084507feb564f4ff0..274332f765ef56a9ca46f83859f5208849cb4c30:/tests/automatic-enrollment.nix diff --git a/tests/automatic-enrollment.nix b/tests/automatic-enrollment.nix index 184bcc7..9b0b76f 100644 --- a/tests/automatic-enrollment.nix +++ b/tests/automatic-enrollment.nix @@ -97,7 +97,7 @@ import ({ pkgs, lib, ... }: def verifyDeviceIDSet(machine, expectedDevice): machine.wait_until_succeeds( - '(( "$(nix eval --raw -f "" config.services.syncthing.declarative.devices.%s.id | wc -c)" == 63 ))' + '(( "$(nix --experimental-features nix-command eval --impure --raw --expr "(import {}).config.services.syncthing.declarative.devices.%s.id" | wc -c)" == 63 ))' % expectedDevice )