1
0
Fork 0
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:
Amneesh Singh 2025-10-17 19:53:39 +05:30 committed by Matthieu Coudron
parent 64020f453b
commit 1830716059

View file

@ -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"} "$@"