Invisible file browser

On my NixOS (weird i know), for any file import such as import bank or open preset, the entire window is completely invisible, not even the top bar which is really weird. I tried to drag and drop into invisible windows but no luck. I have several guesses:

  • something wrong with the Nix flake / configuration:
    • nautilus (file browser) not specified??? xdg-open not linked???
  • something wrong with linux build (very low chance as no one is complaining)
    • in line 135 of this file there is an if, but i searched vital repo for JUCE_MODAL_LOOPS_PERMITTED, nothing comes up? (unless it defaults to true)

thoughts? what should I provide to you guys to help?

P.S. if i build with JUCE_MODAL_LOOPS_PERMITTED=1, will it work? i tried building but need to fix a lot of linking and libraries, if someone already tried pls let me know

edit: link to the aforementioned line in juce in vital github

wow i built it myself, it somehow works

did not set any flags like JUCE_MODAL_LOOPS_PERMITTED except add “-DNO_AUTH=1” into JUCECPPFLAGS