diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-03-26 12:24:50 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-03-28 11:21:59 +0100 |
| commit | 7638729a6746df4b37ce025c29139abef1d6e694 (patch) | |
| tree | cde1e8f96d654ab9ebc2950c457c5d23af013920 /gnu | |
| parent | 3847132a67690d8cd46ee12371df59ce184d27d4 (diff) | |
gnu: hdf5: Move documentation to separate output.
* gnu/packages/maths.scm (hdf5)[outputs]: Add 'doc'.
[arguments]: Add a phase to move the documentation to the 'doc' output.
Fixes guix/guix#7486
Merges guix/guix!7495
Change-Id: I9753715f270748abff9ddf8adaa64120fe167664
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/maths.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index e1090a649d0..5b3f3b3da74 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1865,6 +1865,7 @@ extremely large and complex data collections.") (package (name "hdf5") (version "1.14.6") + (outputs '("out" "doc")) (source (origin (method git-fetch) @@ -2015,7 +2016,12 @@ extremely large and complex data collections.") '("bin/h5hlfc" "bin/h5fc")) (("/gnu/store/[a-z0-9]*-gfortran-[0-9.]*/bin/") - ""))))))) + "")))) + (add-after 'install 'move-html-documentation + (lambda _ + (mkdir-p (string-append #$output:doc "/share")) + (rename-file (string-append #$output "/share/html") + (string-append #$output:doc "/share/html"))))))) (inputs (list libaec zlib)) (native-inputs (list bison |
