Hi, So I'm getting a lot of weird errors and tried a bunch of different things.
I have a wrap-qt-program in (gnu packages qt) and would like to make it available on the build side. The snippet I'm trying to use doesn't work: #:modules ((gnu packages qt) ,@%cmake-build-system-modules) For reference wrap-qt-program looks like this: (define (wrap-qt-program out program) (define (suffix env-var path) (let ((env-val (getenv env-var))) (if env-val (string-append env-val ":" path) path))) (let ((qml-path (suffix "QML2_IMPORT_PATH" (string-append out "/qml"))) (plugin-path (suffix "QT_PLUGIN_PATH" (string-append out "/plugins"))) (xdg-data-path (suffix "XDG_DATA_DIRS" (string-append out "/share"))) (xdg-config-path (suffix "XDG_CONFIG_DIRS" (string-append out "/etc/xdg")))) (wrap-program (string-append out "/bin/" program) `("QML2_IMPORT_PATH" = (,qml-path)) `("QT_PLUGIN_PATH" = (,plugin-path)) `("XDG_DATA_DIRS" = (,xdg-data-path)) `("XDG_CONFIG_DIRS" = (,xdg-config-path)))))