Hi, I'm working on a Guix package based on cmake-build-system. this package needs to copy some .scm files in GUILE_LOAD_PATH, compiled .go file is also need to be added inside GUILE_LOAD_COMPILED_PATH, does anyone know how could I reach these variables relating to current profile?
currently I used following script inside my CMakeLists.txt: execute_process( COMMAND guile -c "(display (car %load-path))" OUTPUT_VARIABLE SCRIPT_PATH ) install(FILES scripts/packageutils.scm DESTINATION ${SCRIPT_PATH}) but it seems that my ${SCRIPT_PATH} points to an invalid path. Regards, Reza