Ben Gamari
New Member
- Feb 26, 2026
- 3
- 2
Game Version
v2026.2.35.3667Operating System
LinuxWhat Happened
Attempting to run KSA on NixOS with [nixos/nixpkgs#492242](https://github.com/NixOS/nixpkgs/pull/492242) reveals that KSA assumes that it can create a directory relative to the executables's location:
Code:
Unhandled exception. System.IO.FileNotFoundException: Could not find file '/nix/store/km2nrjr306ydgrm2d8g8r6x9yaiilyig-ksa-2026.2.35.3667/share/ksa/My Games'.
File name: '/nix/store/km2nrjr306ydgrm2d8g8r6x9yaiilyig-ksa-2026.2.35.3667/share/ksa/My Games'
at System.IO.FileSystem.CreateParentsAndDirectory(String fullPath, UnixFileMode unixCreateMode)
at System.IO.FileSystem.CreateDirectory(String fullPath, UnixFileMode unixCreateMode)
at System.IO.Directory.CreateDirectory(String path)
at KSA.Program..ctor(IReadOnlyList`1 inArgs)
at KSA.Program.Main(String[] inArgs)
What Was Expected
It doesn't crash.Reproduction Steps
-
Code:
NIXPKGS_ALLOW_UNFREE=1 nix run github:Leha44581/nixpkgs/ksa#ksa --impure
Reproduction Rate
AlwaysAdditional Info
- Video/Screenshots: [Link or attach files]
- Save File: [Attached/Link to save file if relevant]
- Other Notes: [Any other relevant details]
Upvote
0