Linux libssl not found (openssl 1.1 deprecated)

Outdex

Newcomer
I used to run Stardew Valley on NixOS using steam-run, but recently I upgraded it from 22.11 to 23.05 which made steam-run to not include openssl 1.1, since it won't be supported after September 11.
This causes the game not to run.
Code:
Running Stardew Valley
NoFpsCap: This feature is not available
setGameMode( 'titleScreenGameMode (0)' )
loadPreferences(); begin - languageCode=
No usable version of libssl was found
./StardewValley: line 27:  8656 Aborted
 

davidhindman

Newcomer
I have been struggling with this same issue @Outdex on NixOS 23.05. I finally got the game to load yesterday. What worked for me was to enable Steam in configuration.nix and run it through that app. I purchased Stardew Valley through GOG, so for me I had installed it separately (with minigalaxy) and then in Steam added a "non-steam game." To my delight the game loaded. I also installed SMAPI, but I suspect the above would work without that.

Here is the relevant portion of my configuration.nix file:

nixpkgs.config.allowUnfree = true;

programs.steam = {
enable = true;
};

environment.systemPackages = with pkgs; [
pkgs.minigalaxy
];
 
Top