nixos/steam: fix eval after #293564

This commit is contained in:
K900 2024-03-08 14:42:31 +03:00
parent 335c734226
commit 7b8d88fa05

View file

@ -45,7 +45,7 @@ in {
apply = steam: steam.override (prev: {
extraEnv = (lib.optionalAttrs (cfg.extraCompatPackages != [ ]) {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = makeBinPath cfg.extraCompatPackages;
}) // prev.extraEnv;
}) // (prev.extraEnv or {});
extraLibraries = pkgs: let
prevLibs = if prev ? extraLibraries then prev.extraLibraries pkgs else [ ];
additionalLibs = with config.hardware.opengl;