Skip Navigation

Posts
9
Comments
26
Joined
10 mo. ago

  • Ok well i was abt to get the logs and just realized that the one game i choosed to try is literally the only one who doesn't wanna work in lutris so far. I've tried a few more native linux games with lutris and they all work, ig lutris just hates this first game in particular, which oddly enoug works with steam-run.

    I suppose if i add the libraries from steam-run to lutris' fhs environment it'll work maybe Alsothe lutris logs does't say anythingi particular, just that the game closed too fast

  • returns this error

     
        
    error: attribute 'multiPkgs' missing
            at /nix/store/j9lcrp816krraglnjk6r8iacl6jvww87-source/nixos/modules/home/packages.nix:24:19:
                23|     (lutris.overrideAttrs (_: prevAttrs: {
                24|       multiPkgs = prevAttrs.multiPkgs ++ [
                  |                   ^
                25|         (pkgs.runCommand "steamrun-lib" { } ''
    
    
      

    if i were to guess maybe cuz multiPkgs is defined in fhsenv.nix in not in default.nix, could be wring tho im pretty new to nix packaging

  • tried that too, didn't work either sadly

  • Nope im not running them inside lutris, just thought if i had nix-ld enabled it'd work but apparently not

    I did check, "Disable Lutris runtime" is checked off and "Prefer system libraries" is checked on, still doesn't work and dies with an exit code 134

  • Do you have the Lutris runtime enabled?

    Like so ?

    If yes, then sadly it don't work

  • I did notice lutris having its own FHS when upgrading, but aw man this looks pretty dam complicated, I'm like a week old to NixOS I have no idea how imma do this lmao, i did attempt the following

     nix
        
    home.packages = with pkgs; [
     lutris.overrideAttrs (finalAttrs: previousAttrs: {
          multiPkgs = self ++ [(pkgs.runCommand "steamrun-lib" {}
      "mkdir $out; ln -s ${pkgs.steam-run.fhsenv}/usr/lib64 $out/lib")];
        })
    ];
    
    
      

    and

     nix
        
    home.packages = with pkgs; [
     lutris.override {
          buildFHSEnv = self.buildFHSEnv.override {
            multiPkgs = self ++ [(pkgs.runCommand "steamrun-lib" {}
      "mkdir $out; ln -s ${pkgs.steam-run.fhsenv}/usr/lib64 $out/lib")];
          };
        }
    ];
      

    which obviously didn't work, so yea im kinda lost

    I'm also really surprised that lutris' FHS just does not have anything to run native linux game by default