update extest lib to 64-bit after steam made the shift

This commit is contained in:
greyweather committed 2026-11-22 20:20:43 +00:00
1 parent 1add239d3b
commit 15acb50bb8
1 file changed
+1 -6
@@ -15,13 +15,8 @@
flake.homeModules.gaming = { pkgs, config, lib, inputs, ... }: { flake.homeModules.gaming = { pkgs, config, lib, inputs, ... }: {
config = let config = let
pkgsCross = import inputs.nixpkgs {
localSystem = pkgs.stdenv.hostPlatform.system;
hostSystem = pkgs.stdenv.hostPlatform.system;
crossSystem = "i686-linux";
};
steam-modified-desktop-file = pkgs.runCommand "modifySteamDesktopFile" {} '' steam-modified-desktop-file = pkgs.runCommand "modifySteamDesktopFile" {} ''
sed 's@Exec=/usr/bin/steam@Exec=env LD_PRELOAD=${pkgsCross.extest}/lib/libextest.so /usr/bin/steam@' ${self}/assets/steam.desktop.example > $out sed 's@Exec=/usr/bin/steam@Exec=env LD_PRELOAD=${pkgs.extest}/lib/libextest.so /usr/bin/steam@' ${self}/assets/steam.desktop.example > $out
''; '';
in lib.mkIf (config.features.hardware.steam-controller.enable) { in lib.mkIf (config.features.hardware.steam-controller.enable) {
xdg.dataFile."applications/steam.desktop".source = steam-modified-desktop-file; xdg.dataFile."applications/steam.desktop".source = steam-modified-desktop-file;