Im trying to package a game written in zig
Zig has a bunch of default flags that you can’t override through normal means such as overrideAttrs
One of those flags is --release=safe which i need to change for debugging purposes, since at the moment the logs i get are pretty useless
❯ result/bin/Cubyz
Starting game client with version 0.0.0-dev
Could not read launchConfig.zon: FileNotFound
GLFW Error(65544): X11: Failed to load Xlib
thread 515585 panic: Failed to initialize GLFW
Unwind information for `:0x14433f4` was not available, trace may be incomplete
???:?:?: 0x14d18c2 in ??? ()
???:?:?: 0x14c927d in ??? ()
???:?:?: 0x14c874d in ??? ()
???:?:?: 0x7fa545e2a4d7 in ??? (libc.so.6)
???:?:?: 0x7fa545e2a59a in ??? (libc.so.6)
???:?:?: 0x141fae4 in ??? ()
fish: Job 1, 'result/bin/Cubyz' terminated by signal SIGABRT (Abort)
Current state of the package can be found here