From 15acb50bb86eace3467c273c5683cf899454a755 Mon Sep 17 00:00:00 2001 From: Grey Jones Date: Sun, 22 Nov 2026 20:20:43 +0000 Subject: [PATCH] update extest lib to 64-bit after steam made the shift --- modules/features/hardware/steam-controller.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/modules/features/hardware/steam-controller.nix b/modules/features/hardware/steam-controller.nix index 208d52f..23effe2 100644 --- a/modules/features/hardware/steam-controller.nix +++ b/modules/features/hardware/steam-controller.nix @@ -15,13 +15,8 @@ flake.homeModules.gaming = { pkgs, config, lib, inputs, ... }: { 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" {} '' - 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) { xdg.dataFile."applications/steam.desktop".source = steam-modified-desktop-file;