mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
wrapper-manager/nixgl: change wraparound.executable to wraparound.arg0
Also for consistency.
This commit is contained in:
parent
b43e5f279e
commit
d7338a8722
@ -16,7 +16,7 @@ let
|
||||
wrapNixGL = arg0:
|
||||
if isInNonNixOS then {
|
||||
nixgl.enable = true;
|
||||
nixgl.wraparound.executable = arg0;
|
||||
nixgl.wraparound.arg0 = arg0;
|
||||
} else {
|
||||
inherit arg0;
|
||||
};
|
||||
|
@ -87,7 +87,7 @@ in
|
||||
};
|
||||
|
||||
wraparound = {
|
||||
executable = lib.mkOption {
|
||||
arg0 = lib.mkOption {
|
||||
type = lib.types.nonEmptyStr;
|
||||
description = ''
|
||||
The executable to be wrapped around.
|
||||
@ -117,7 +117,7 @@ in
|
||||
if submoduleCfg.executable == null
|
||||
then lib.getExe (nixgl config.nixgl.variant config.nixgl.src)
|
||||
else submoduleCfg.executable;
|
||||
prependArgs = lib.mkBefore ([ submoduleCfg.wraparound.executable ] ++ submoduleCfg.wraparound.extraArgs);
|
||||
prependArgs = lib.mkBefore ([ submoduleCfg.wraparound.arg0 ] ++ submoduleCfg.wraparound.extraArgs);
|
||||
};
|
||||
};
|
||||
in
|
||||
|
Loading…
Reference in New Issue
Block a user