News for hackers. Stuff that matters.
Re:NixOS 22.11 “Raccoon” Released by stingraycharles on Thursday December 01, 2022 @08:35AM (#33816013)
From my experience, any binary is going to need patching before it runs, because shared libraries are in weird paths. I especially had issues running Steam, but this was about 8 years ago — maybe the situation has improved now.
Re:NixOS 22.11 “Raccoon” Released by iopq on Thursday December 01, 2022 @09:32AM (#33816689)
Steam still needs to be configured

https://nixos.wiki/wiki/Steam

but it's just a few lines in your config and then it works

Re:NixOS 22.11 “Raccoon” Released by SuperSandro2000 on Thursday December 01, 2022 @10:05AM (#33817134)
That page is missing the opengl drivers which you also most likely want in the 32 bit variant.
Re:NixOS 22.11 “Raccoon” Released by Filligree on Thursday December 01, 2022 @10:46AM (#33817789)
Setting programs.steam.enable also enables 32-bit opengl, last I checked.
Re:NixOS 22.11 “Raccoon” Released by SuperSandro2000 on Thursday December 01, 2022 @11:48AM (#33818878)
Yes, that's correct and then you need to tell it which driver you need for your hardware. For example like:

hardware.opengl = { extraPackages = with pkgs; [ intel-compute-runtime # OpenCL library intel-media-driver # video encoding/decoding hardware accerlation ]; extraPackages32 = with pkgs.pkgsi686Linux; [ intel-media-driver # video encoding/decoding hardware accerlation ]; };

Re:NixOS 22.11 “Raccoon” Released by SuperSandro2000 on Thursday December 01, 2022 @09:37AM (#33816754)
Yes, you cannot just download any random binary from the internet unless you use a FHS because those libraries are compiled for Distros using a default file system layout.