update extest lib to 64-bit after steam made the shift
This commit is contained in:
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;
|
||||||
|
|||||||
Reference in new issue
Block a user