about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-03-08 14:42:31 +0300
committerK900 <me@0upti.me>2024-03-08 14:42:31 +0300
commit7b8d88fa059d2a945e17c800d4f2bbc958755e5c (patch)
treeb1ca1da212a1f107338af770353b9668c97c8e9c /nixos/modules/programs
parent335c734226b313007c796f8b019884ad488740f0 (diff)
downloadnixlib-7b8d88fa059d2a945e17c800d4f2bbc958755e5c.tar
nixlib-7b8d88fa059d2a945e17c800d4f2bbc958755e5c.tar.gz
nixlib-7b8d88fa059d2a945e17c800d4f2bbc958755e5c.tar.bz2
nixlib-7b8d88fa059d2a945e17c800d4f2bbc958755e5c.tar.lz
nixlib-7b8d88fa059d2a945e17c800d4f2bbc958755e5c.tar.xz
nixlib-7b8d88fa059d2a945e17c800d4f2bbc958755e5c.tar.zst
nixlib-7b8d88fa059d2a945e17c800d4f2bbc958755e5c.zip
nixos/steam: fix eval after #293564
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/steam.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/steam.nix b/nixos/modules/programs/steam.nix
index d9fe8f54efd8..a2f95134d039 100644
--- a/nixos/modules/programs/steam.nix
+++ b/nixos/modules/programs/steam.nix
@@ -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;