From 61f9525a81e4635162b1102a6fd8ef1ed7684055 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Fri, 3 Nov 2023 18:33:29 +0300 Subject: gn: javascript: Copy the right htmx.min.js from the source. * gn/packages/javascript.scm (javascript-htmx): Copy "/dist/htmx.min.js" to the targetdir. Signed-off-by: Munyoki Kilyungi --- gn/packages/javascript.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gn') diff --git a/gn/packages/javascript.scm b/gn/packages/javascript.scm index 9b5c34b..68cb984 100644 --- a/gn/packages/javascript.scm +++ b/gn/packages/javascript.scm @@ -1907,7 +1907,8 @@ vector graphics.") (out (assoc-ref %outputs "out")) (targetdir (string-append out "/share/genenetwork2/javascript"))) (mkdir-p targetdir) - (copy-file source (string-append targetdir "/htmx.min.js")))))) + (copy-file (string-append source "/dist/htmx.min.js") + (string-append targetdir "/htmx.min.js")))))) (home-page "https://htmx.org/") (synopsis "High Power Tools for HTML") (description -- cgit v1.2.3