mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
redshift-gammastep: migrate to lib.cli.toCommandLineShellGNU
Migrates from the deprecated toCommandLineShell to toCommandLineShellGNU. This changes the output format from space-separated short options (-c /path) to concatenated GNU-style options (-c/path). Both formats were verified to work correctly with redshift and gammastep. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -239,7 +239,7 @@ in
|
|||||||
configFullPath = config.xdg.configHome + "/${xdgConfigFilePath}";
|
configFullPath = config.xdg.configHome + "/${xdgConfigFilePath}";
|
||||||
in
|
in
|
||||||
"${cfg.package}/bin/${command} "
|
"${cfg.package}/bin/${command} "
|
||||||
+ lib.cli.toGNUCommandLineShell { } {
|
+ lib.cli.toCommandLineShellGNU { } {
|
||||||
v = cfg.enableVerboseLogging;
|
v = cfg.enableVerboseLogging;
|
||||||
c = configFullPath;
|
c = configFullPath;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user