diff options
author | K900 <me@0upti.me> | 2024-03-08 14:42:31 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-03-08 14:42:31 +0300 |
commit | 7b8d88fa059d2a945e17c800d4f2bbc958755e5c (patch) | |
tree | b1ca1da212a1f107338af770353b9668c97c8e9c /nixos | |
parent | 335c734226b313007c796f8b019884ad488740f0 (diff) | |
download | nixlib-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')
-rw-r--r-- | nixos/modules/programs/steam.nix | 2 |
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; |