mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
wrapper-manager/sandboxing: change to arg0 for wraparound for consistency
This commit is contained in:
parent
2b7adc7fa4
commit
3c56efb777
@ -108,7 +108,7 @@ in
|
||||
arg0 = lib.getExe submoduleCfg.package;
|
||||
prependArgs = lib.mkBefore
|
||||
(submoduleCfg.extraArgs
|
||||
++ [ "--" config.sandboxing.wraparound.executable ]
|
||||
++ [ "--" config.sandboxing.wraparound.arg0 ]
|
||||
++ config.sandboxing.wraparound.extraArgs);
|
||||
};
|
||||
};
|
||||
|
@ -96,7 +96,7 @@ in
|
||||
arg0 = lib.getExe' submoduleCfg.package "bwrap";
|
||||
prependArgs = lib.mkBefore
|
||||
(submoduleCfg.extraArgs
|
||||
++ [ "--" config.sandboxing.wraparound.executable ]
|
||||
++ [ "--" config.sandboxing.wraparound.arg0 ]
|
||||
++ config.sandboxing.wraparound.extraArgs);
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
};
|
||||
|
||||
wraparound = {
|
||||
executable = options.arg0;
|
||||
arg0 = options.arg0;
|
||||
extraArgs = options.extraArgs;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user