mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
nixgl: fix wrapper name typo
Acknowledge nvidiaPrime when it is one of the wrappers in cfg.installScripts
This commit is contained in:
parent
64020f453b
commit
1830716059
1 changed files with 1 additions and 1 deletions
|
|
@ -346,7 +346,7 @@ in
|
||||||
''
|
''
|
||||||
))
|
))
|
||||||
|
|
||||||
(lib.mkIf (wantsWrapper "nvidia") (
|
(lib.mkIf (wantsWrapper "nvidiaPrime") (
|
||||||
pkgs.writeShellScriptBin "nixGLNvidiaPrime" ''
|
pkgs.writeShellScriptBin "nixGLNvidiaPrime" ''
|
||||||
${envVarsAsScript nvOffloadEnv}
|
${envVarsAsScript nvOffloadEnv}
|
||||||
exec ${getWrapperExe "Nvidia"} "$@"
|
exec ${getWrapperExe "Nvidia"} "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue