wrapper-manager/sandboxing: change to arg0 for wraparound for consistency

This commit is contained in:
Gabriel Arazas 2024-08-01 12:10:19 +08:00
parent 2b7adc7fa4
commit 3c56efb777
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
3 changed files with 3 additions and 3 deletions

View File

@ -108,7 +108,7 @@ in
arg0 = lib.getExe submoduleCfg.package; arg0 = lib.getExe submoduleCfg.package;
prependArgs = lib.mkBefore prependArgs = lib.mkBefore
(submoduleCfg.extraArgs (submoduleCfg.extraArgs
++ [ "--" config.sandboxing.wraparound.executable ] ++ [ "--" config.sandboxing.wraparound.arg0 ]
++ config.sandboxing.wraparound.extraArgs); ++ config.sandboxing.wraparound.extraArgs);
}; };
}; };

View File

@ -96,7 +96,7 @@ in
arg0 = lib.getExe' submoduleCfg.package "bwrap"; arg0 = lib.getExe' submoduleCfg.package "bwrap";
prependArgs = lib.mkBefore prependArgs = lib.mkBefore
(submoduleCfg.extraArgs (submoduleCfg.extraArgs
++ [ "--" config.sandboxing.wraparound.executable ] ++ [ "--" config.sandboxing.wraparound.arg0 ]
++ config.sandboxing.wraparound.extraArgs); ++ config.sandboxing.wraparound.extraArgs);
} }

View File

@ -21,7 +21,7 @@
}; };
wraparound = { wraparound = {
executable = options.arg0; arg0 = options.arg0;
extraArgs = options.extraArgs; extraArgs = options.extraArgs;
}; };
}; };