lib/LLVMgold.so: cannot open shared object file: No such file or directory

hi!

I’m working on a project and decided on a whim to use llvm to compile my project (I was using GNU GCC previously), however, I have hit an error during the linking (?) phase:

[907/926] Linking CXX shared library poker-utils/ompeval/libompeval.so
FAILED: poker-utils/ompeval/libompeval.so 
: && /nix/store/d39m8arbjw7x079cvxf4xq6a1p9iql3q-clang-wrapper-16.0.6/bin/clang++ -fPIC -O3 -Wall -Wpedantic -pthread -O3 -DNDEBUG -flto=thin   -shared -Wl,-soname,libompeval.so -o poker-utils/ompeval/libompeval.so poker-utils/ompeval/CMakeFiles/ompeval.dir/omp/CardRange.cpp.o poker-utils/ompeval/CMakeFiles/ompeval.dir/omp/CombinedRange.cpp.o poker-utils/ompeval/CMakeFiles/ompeval.dir/omp/EquityCalculator.cpp.o poker-utils/ompeval/CMakeFiles/ompeval.dir/omp/HandEvaluator.cpp.o  -Wl,-rpath,"\$ORIGIN" && :
/nix/store/3z013mdl9cvpgvavpj19rbilihz4clvi-binutils-2.40/bin/ld: /nix/store/im40dz3167rw55lbg3r5p1f8n4c46x3z-llvm-16.0.6-lib/lib/LLVMgold.so: error al cargar el plugin: /nix/store/im40dz3167rw55lbg3r5p1f8n4c46x3z-llvm-16.0.6-lib/lib/LLVMgold.so: cannot open shared object file: No such file or directory
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
[919/926] Building CXX object godot-cpp/CMakeFiles/godot-cpp.dir/gen/src/register_engine_classes.cpp.o
ninja: build stopped: subcommand failed.
error: Recipe `build` failed on line 5 with exit code 1

What am I missing on my flake.nix?