I’ve got it to at least link appropriately. Here’s what I did, not sure if using steam-run is all I needed to do, but I did all three of the following in this thread
https://www.reddit.com/r/NixOS/comments/17kwkgv/switched_from_nobara_to_nixos_my_opinion_so_far/
Unreal Engine and Godot Engine needed nix-ld setup + envfhs (not sure if the name is right) Or sometimes steam-run is good enough, but I am used to running them without other stuff, so added the required libraries in nix-ld
So I blindly copied from here:
This configuration.nix setup:
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
stdenv.cc.cc
bash
zlib
fuse3
icu
zlib
nss
openssl
curl
expat
envfs
];
environment.systemPackages = with pkgs; [
nix-ld
git
envfs
];
At this point, running ./Setup.sh still wasn’t working, I then tried steam-run ./Setup.sh and it worked. The write up in the blog post mostly explains how Nix links things differently, and how steam-run can be used to get around binary linking issues. I think nix-ld can help turn that into a configuration. I suspect steam-run is all I needed to do, but it’s running now at least