diff options
author | Efraim Flashner | 2019-09-26 08:54:30 -0500 |
---|---|---|
committer | Efraim Flashner | 2019-09-26 08:54:30 -0500 |
commit | 2742663870188f7edbad56d42955c3ade86e1ad9 (patch) | |
tree | 6697a71a36a14cd6acf29476b1d27f5a0b03caad /gn/packages/web.scm | |
parent | d7bffaf6b1cb7a952b510d37caf2e0ff132b95ea (diff) | |
download | guix-bioinformatics-2742663870188f7edbad56d42955c3ade86e1ad9.tar.gz |
gn: web-bootstrap-3: Fix font references.
* gn/packages/web.scm (web-bootstrap-3)[arguments]: Hardcode location of
font directory.
(web-bootstrap-3.3)[inherit]: Inherit from web-bootstrap-3.
Diffstat (limited to 'gn/packages/web.scm')
-rw-r--r-- | gn/packages/web.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gn/packages/web.scm b/gn/packages/web.scm index 633982a..ef2a86e 100644 --- a/gn/packages/web.scm +++ b/gn/packages/web.scm @@ -96,11 +96,25 @@ extensive prebuilt components, and powerful plugins built on jQuery.") (file-name (git-file-name name version)) (sha256 (base32 "1wsv79rvzaacyf740mwmhxadpwf28pad711jhbxl26zgqjrpzcbp")))) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((out (assoc-ref %outputs "out")) + (name "bootstrap") + (targetdir (string-append out "/share/web/" name)) + (source (assoc-ref %build-inputs "source")) + (dist (string-append source "/dist"))) + (copy-recursively dist targetdir) + (substitute* (find-files (string-append targetdir "/css") ".") + (("../fonts") (string-append targetdir "/fonts"))) + #t)))) (native-inputs `(("source" ,source))))) (define-public web-bootstrap-3.3 (package - (inherit web-bootstrap) + (inherit web-bootstrap-3) (name "web-bootstrap") (version "3.3.7") ; July 25, 2016 (source |