diff --git a/gnu/packages/ci.scm b/gnu/packages/ci.scm index 50e5690d063..d15e2ae92cb 100644 --- a/gnu/packages/ci.scm +++ b/gnu/packages/ci.scm @@ -101,6 +101,20 @@ #:parallel-tests? #f #:phases #~(modify-phases %standard-phases + (add-after 'build 'install-minified-javascript + (lambda _ + ;; Work around guix/cuirass#34. Remove when 1.3.1 is out. + (define files + '("src/static/js/choices.min.js" + "src/static/js/d3.v6.min.js" + "src/static/js/list.min.js")) + (apply invoke "make" files) + (for-each (lambda (file) + (install-file + file + (in-vicinity #$output + "share/cuirass/static/js"))) + files))) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) ;; Wrap the 'cuirass' command to refer to the right modules.