I'm not sure if someone was/is working on this, but here's a patch you can use as a start.
I could probably fix it, but I drop work on this. Here's the error to get you started on fixing it: -- Using CMake version: 3.6.1 -- Krita version: 3.0 Module path:/tmp/guix-build-krita-3.0.drv-0/krita-3.0/cmake/modules/tmp/guix-build-krita-3.0.drv-0/krita-3.0/cmake/kde_macro -- Release build: TRUE -- ------------------------------------------------------------------- -- Configured with product set "ALL" -- ------------------------------------------------------------------- CMake Error at CMakeLists.txt:208 (find_package): By not providing "FindECM.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ECM", but CMake did not find one. Could not find a package configuration file provided by "ECM" (requested version 1.7.0) with any of the following names: ECMConfig.cmake ecm-config.cmake Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR" to a directory containing one of the above files. If "ECM" provides a separate development package or SDK, be sure it has been installed. -- Configuring incomplete, errors occurred! See also "/tmp/guix-build-krita-3.0.drv-0/build/CMakeFiles/CMakeOutput.log". phase `configure' failed after 2.8 seconds builder for `/gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv' failed with exit code 1 @ build-failed /gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv - 1 builder for `/gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/bgwmip3xwxiag95y2wndbfgqgg4m1a6q-krita-3.0.drv' failed