Starsector from nixpkgs won't launch, LWJGL error

I’ve got the starsector pkg installed via home-manager. The launcher will come up, it will detect installed mods, etc. However when I click start, I get an error in starsector.log:

...
8080 [Thread-4] INFO  com.fs.starfarer.combat.CombatMain  - Running with antialiasing samples: 16
8081 [Thread-4] INFO  com.fs.graphics.o0oO  - Using refresh rate:143
8091 [Thread-4] ERROR com.fs.graphics.o0oO  - Exiting - exception in LWJGL initialization
org.lwjgl.LWJGLException: Could not choose GLX13 config
	at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
	at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
	at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:828)
	at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
	at org.lwjgl.opengl.Display.create(Display.java:846)
	at org.lwjgl.opengl.Display.create(Display.java:757)
	at com.fs.graphics.o0oO.Ò00000(Unknown Source)
	at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
	at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
	at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:750)
1410 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Exiting - exception in LWJGL initialization
java.lang.RuntimeException: Exiting - exception in LWJGL initialization
	at com.fs.graphics.o0oO.Ò00000(Unknown Source)
	at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
	at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
	at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:750)
Caused by: org.lwjgl.LWJGLException: Could not choose GLX13 config
	at org.lwjgl.opengl.LinuxDisplayPeerInfo.initDefaultPeerInfo(Native Method)
	at org.lwjgl.opengl.LinuxDisplayPeerInfo.<init>(LinuxDisplayPeerInfo.java:61)
	at org.lwjgl.opengl.LinuxDisplay.createPeerInfo(LinuxDisplay.java:828)
	at org.lwjgl.opengl.DrawableGL.setPixelFormat(DrawableGL.java:61)
	at org.lwjgl.opengl.Display.create(Display.java:846)
	at org.lwjgl.opengl.Display.create(Display.java:757)
	... 5 more

I googled around a bit and found a similar issue for Minecraft, but the fix was just to use prismalauncher, which doesn’t help me here.

Anybody have any thoughts on how best to approach this?

EDIT: per this post, the fix is to to set LD_LIBRARY_PATH, but I’m not sure how to go about doing that.

Update: disabled anti-aliasing and it launches fine.