Commit graph

65125 commits

Author SHA1 Message Date
Ricardo Wurmus 95eb946b43
gnu: ghc-semigroupoids: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-semigroupoids)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus af2f91ec41
gnu: ghc-rerebase: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-rerebase)[outputs]: Add "doc" output next
to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 54c8209e70
gnu: ghc-regex-tdfa: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-regex-tdfa)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus e396e93675
gnu: ghc-rebase: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-rebase)[outputs]: Add "doc" output next to
"out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 1ad496e57f
gnu: ghc-profunctors: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-profunctors)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 3e6ecfebfd
gnu: ghc-mono-traversable: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-mono-traversable)[outputs]: Add "doc"
output next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 7e62ebb3ae
gnu: ghc-lib-parser: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-lib-parser)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus b35361e928
gnu: ghc-lens: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-lens)[outputs]: Add "doc" output next to
"out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus a023e7d0c5
gnu: ghc-juicypixels: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-juicypixels)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus cad59e53da
gnu: ghc-haskell-src-exts: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-haskell-src-exts)[outputs]: Add "doc"
output next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 80e0a08598
gnu: ghc-generics-sop: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-generics-sop)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 32bb6b4106
gnu: ghc-generic-deriving: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-generic-deriving)[outputs]: Add "doc"
output next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 91769cee6c
gnu: ghc-free: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-free)[outputs]: Add "doc" output next to
"out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 6a7fb82827
gnu: ghc-foundation: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-foundation)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus b3c79a8398
gnu: ghc-foldl: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-foldl)[outputs]: Add "doc" output next to
"out" and "static".
2020-08-13 16:44:57 +02:00
Ricardo Wurmus 20e5edb10d
gnu: ghc-conduit: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-conduit)[outputs]: Add "doc" output next
to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus 3e54544381
gnu: ghc-cmdargs: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-cmdargs)[outputs]: Add "doc" output next
to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus 3d7ee2f8e3
gnu: ghc-base-prelude: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-base-prelude)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus 05f7f8bed8
gnu: ghc-basement: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-basement)[outputs]: Add "doc" output next
to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus e2b021dfcc
gnu: ghc-base-compat: Add "doc" output.
* gnu/packages/haskell-xyz.scm (ghc-base-compat)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus 3a6f490c48
gnu: ghc-hxt: Add "doc" output.
* gnu/packages/haskell-web.scm (ghc-hxt)[outputs]: Add "doc" output next to
"out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus b2509e608a
gnu: ghc-aeson: Add "doc" output.
* gnu/packages/haskell-web.scm (ghc-aeson)[outputs]: Add "doc" output next to
"out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus d39512776f
gnu: ghc-blaze-html: Add "doc" output.
* gnu/packages/haskell-web.scm (ghc-blaze-html)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus b48e8c45ea
gnu: ghc-cryptonite: Add "doc" output.
* gnu/packages/haskell-crypto.scm (ghc-cryptonite)[outputs]: Add "doc" output
next to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus 64041c6c25
gnu: ghc-crypto-api-tests: Add "doc" output.
* gnu/packages/haskell-crypto.scm (ghc-crypto-api-tests)[outputs]: Add "doc"
output next to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus d65a302546
gnu: ghc-hspec: Add "doc" output.
* gnu/packages/haskell-check.scm (ghc-hspec)[outputs]: Add "doc" output next
to "out" and "static".
2020-08-13 16:44:56 +02:00
Ricardo Wurmus f737d3ddd8
gnu: ghc-8.6: Remove unnecessary references.
* gnu/packages/haskell.scm (ghc-8.6)[arguments]: Add phase
"remove-unnecessary-references" to remove references to build tools and
inter-output references.
2020-08-13 16:44:56 +02:00
Ricardo Wurmus 534d6caa0b
gnu: Add "static" output to Haskell packages with custom outputs.
All these packages have non-standard outputs.  As a result the build system
cannot automatically add the "static" output, so we do this manually.

* gnu/packages/haskell-check.scm (ghc-quickcheck, ghc-hunit)[outputs]: Add
"static" output.
* gnu/packages/haskell-web.scm (ghc-http)[outputs]: Same.
* gnu/packages/haskell-xyz.scm (ghc-case-insensitive, ghc-fgl, ghc-hashable,
ghc-network, ghc-network-uri, ghc-parallel, ghc-paths, ghc-primitive,
ghc-random, ghc-split, ghc-syb, ghc-tf-random, ghc-unordered-containers,
ghc-vector, ghc-zlib)[outputs]: Same.
2020-08-13 16:44:56 +02:00
Ricardo Wurmus aa1a75cc0e
build-system/haskell: Do not pass "--bindir" during configure.
The "--bindir" option is not as useful as it seems as the configured location
is embedded in the outputs.  Instead of using "--bindir" it seems better to
build a statically linked binary and move the binary to its own output to
avoid references between the "out" and "bin" outputs.

* guix/build/haskell-build-system.scm (configure): Do not pass "--bindir".
2020-08-13 16:44:56 +02:00
Timothy Sample 54a5fd0791
build-system/haskell: Add 'extra-directories' keyword.
See <https://bugs.gnu.org/39309>.

* guix/build-system/haskell.scm (lower): Include the transitive
propagated inputs of 'extra-directories' inputs.
(haskell-build): Add the 'extra-directories' keyword and pass it through
to the builder.
* guix/build/haskell-build-system.scm (configure): Use it to select
which inputs get passed via 'extra-include-dirs' and 'extra-lib-dirs' to
Cabal.
* gnu/packages/haskell-xyz.scm (ghc-alsa-core, ghc-hmatrix,
ghc-hmatrix-gsl, ghc-hslua, ghc-iwlib, ghc-libyaml, ghc-ncurses,
ghc-openglraw, ghc-x11, ghc-x11-xft, ghc-zlib): Set 'extra-directories'.
* gnu/packages/haskell-crypto.scm (ghc-digest, ghc-hsopenssl): Likewise.
2020-08-13 16:44:52 +02:00
Ricardo Wurmus 3f7922cbf5
haskell-build-system: register: Remove references to the doc output.
* guix/build/haskell-build-system.scm (register): Strip references to the doc
output from the generated package config files; move the haddock files from
the "doc" output to the "lib" output.
2020-08-12 14:45:49 +02:00
Ricardo Wurmus 75bda3c648
haskell-build-system: register: Respect lib output.
* guix/build/haskell-build-system.scm (register): Use lib output if it exists.
2020-08-12 14:45:49 +02:00
Ricardo Wurmus 718dc7d4a5
build-system/haskell: Add default output "static".
* guix/build-system/haskell.scm (lower): Add OUTPUTS keyword and add the
"static" output in the common case.
(haskell-build): Set the default value for the OUTPUTS keyword to include the
"static" output.
* guix/build/haskell-build-system.scm (install): Move static libraries to the
"static" output if it exists.
2020-08-12 14:45:48 +02:00
Ricardo Wurmus 9e5496e0ae
build-system/haskell: Configure to link with shared libraries.
* guix/build/haskell-build-system.scm (configure): Add configure flags to
build shared libraries by default, to generate position independent code, and
to set the RUNPATH.
2020-08-12 14:45:48 +02:00
Ricardo Wurmus 0347888a7e
build-system/haskell: Refactor configure step.
* guix/build/haskell-build-system.scm (configure): Replace append
with quasiquotes and splicing.
2020-08-12 14:45:48 +02:00
Ricardo Wurmus 67cb9fa235
build-system/haskell: Support parallel builds.
* guix/build-system/haskell.scm (haskell-build): Add keyword PARALLEL-BUILD?
and pass it on to the builder.
* guix/build/haskell-build-system.scm (build): Accept keyword PARALLEL-BUILD?
and pass the number of parallel jobs to GHC.
2020-08-12 14:45:48 +02:00
Timothy Sample 54c9b5bfd7
gnu: Add ghc-8.8.
* gnu/packages/haskell.scm (ghc-8.8): New variable.
2020-08-12 14:45:44 +02:00
Ricardo Wurmus 1c831f42cf
gnu: r-car: Update to 3.0-9.
* gnu/packages/statistics.scm (r-car): Update to 3.0-9.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus d7570fc79b
gnu: r-fit-models: Update to 0.64.
* gnu/packages/statistics.scm (r-fit-models): Update to 0.64.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 15d4f9e109
gnu: r-rrcov: Update to 1.5-5.
* gnu/packages/statistics.scm (r-rrcov): Update to 1.5-5.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 6cb15e098c
gnu: r-hmisc: Update to 4.4-1.
* gnu/packages/statistics.scm (r-hmisc): Update to 4.4-1.
[propagated-inputs]: Remove r-acepack.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 1713df8e9a
gnu: r-tidyr: Update to 1.1.1.
* gnu/packages/statistics.scm (r-tidyr): Update to 1.1.1.
[propagated-inputs]: Remove r-rcpp and r-stringi; add r-cpp11.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 06576a5bd0
gnu: r-dt: Update to 0.15.
* gnu/packages/statistics.scm (r-dt): Update to 0.15.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 47b57ce5dc
gnu: r-xml: Update to 3.99-0.5.
* gnu/packages/statistics.scm (r-xml): Update to 3.99-0.5.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 228a197278
gnu: r-rcpparmadillo: Update to 0.9.900.2.0.
* gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.9.900.2.0.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 210ae7ba60
gnu: r-devtools: Update to 2.3.1.
* gnu/packages/statistics.scm (r-devtools): Update to 2.3.1.
[propagated-inputs]: Remove r-crayon, r-digest, r-glue, and r-git2r.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus c2b02b1b49
gnu: r-httr: Update to 1.4.2.
* gnu/packages/statistics.scm (r-httr): Update to 1.4.2.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 81cc043322
gnu: r-data-table: Update to 1.13.0.
* gnu/packages/statistics.scm (r-data-table): Update to 1.13.0.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus 4a791a2f6d
gnu: r-dplyr: Update to 1.0.1.
* gnu/packages/statistics.scm (r-dplyr): Update to 1.0.1.
2020-08-12 13:57:15 +02:00
Ricardo Wurmus b4552eba89
gnu: r-ggdendro: Update to 0.1.21.
* gnu/packages/statistics.scm (r-ggdendro): Update to 0.1.21.
[propagated-inputs]: Remove r-knitr.
[native-inputs]: Add r-knitr.
2020-08-12 13:57:15 +02:00