File tree 1 file changed +7
-9
lines changed
1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 96
96
script = extraScript args ;
97
97
indent = i : str : lib . concatMapStringsSep "\n " ( x : ( lib . strings . replicate i " " ) + x ) ( lib . splitString "\n " script ) ;
98
98
in
99
- lib . optionalString ( script != "" ) ''
100
- with subtest("extraScript"):
101
- ${ indent 4 script }
102
- '' ) ) ;
99
+ lib . optionalString ( script != "" ) script )
100
+ ) ;
103
101
104
102
backupScript = args : ( accessScript args ) . override {
105
- extraScript = { proto_fqdn , ... } : ''
106
- with subtest("backup"):
107
- server.succeed("systemctl start restic-backups-testinstance_opt_repos_A")
108
- '' ;
109
- } ;
103
+ extraScript = { proto_fqdn , ... } : ''
104
+ with subtest("backup"):
105
+ server.succeed("systemctl start restic-backups-testinstance_opt_repos_A")
106
+ '' ;
107
+ } ;
110
108
in
111
109
{
112
110
inherit baseImports accessScript ;
You can’t perform that action at this time.
0 commit comments