- 17 Jul, 2020 40 commits
-
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-pandoc-citeproc)[arguments]: Add configure flags to build a statically linked executable; add phase "create-simple-paths-module" to avoid unnecessary inter-output references; add phase "prepare-static-libraries". [outputs]: Add "doc" output. [inputs]: Add static variants of the package closure of all Haskell inputs.
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-pandoc)[arguments]: Add configure flags to build a statically linked pandoc executable; add build phase "create-simple-paths-module" to prevent embedding unnecessary references; add build phase "prepare-static-libraries"; run tests after installation so that data files can be found. [outputs]: Add "doc" output. [inputs]: Add static variants of all Haskell packages of the package closure; add zlib:static. [native-inputs]: Add static variants of all Haskell packages in the package closure.
-
Ricardo Wurmus authored
* gnu/packages/haskell-web.scm (ghc-http)[arguments]: Add build phase "create-simple-paths-module" to avoid retaining unnecessary references.
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-pandoc-types)[arguments]: Add build phase "create-simple-paths-module" to prevent retaining unnecessary references.
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-distributive): Update to 0.6.2.
-
Ricardo Wurmus authored
This is a follow-up to commit efdb7898f204cafab090684a40b03d8061890358. * gnu/packages/haskell-xyz.scm (ghc-zlib)[arguments]: Inform the build system about the zlib package's "lib" and "include" directories.
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-unliftio)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-semigroupoids)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-rerebase)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-regex-tdfa)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-rebase)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-profunctors)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-mono-traversable)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-lib-parser)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-lens)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-juicypixels)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-haskell-src-exts)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-generics-sop)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-generic-deriving)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-free)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-foundation)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-foldl)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-conduit)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-cmdargs)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-base-prelude)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-basement)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-xyz.scm (ghc-base-compat)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-web.scm (ghc-hxt)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-web.scm (ghc-aeson)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-web.scm (ghc-blaze-html)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-crypto.scm (ghc-cryptonite)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-crypto.scm (ghc-crypto-api-tests)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell-check.scm (ghc-hspec)[outputs]: Add "doc" output next to "out" and "static".
-
Ricardo Wurmus authored
* gnu/packages/haskell.scm (ghc-8.6)[arguments]: Add phase "remove-unnecessary-references" to remove references to build tools and inter-output references.
-
Ricardo Wurmus authored
This is a follow-up to commit efdb7898f204cafab090684a40b03d8061890358. * gnu/packages/haskell-xyz.scm (ghc-hslua)[arguments]: Inform the build system about the lua package's "lib" directory via the --extra-lib-dirs configure option.
-
Ricardo Wurmus authored
This is a follow-up to commit efdb7898f204cafab090684a40b03d8061890358. * gnu/packages/haskell-xyz.scm (ghc-libyaml)[arguments]: Inform the build system about the libyaml "lib" directory via the --extra-lib-dirs configure option.
-
Ricardo Wurmus authored
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.
-
Ricardo Wurmus authored
* 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.
-
Ricardo Wurmus authored
The "--extra-include-dirs" and "--extra-lib-dirs" options end up adding references to too many unnecessary inputs. Turns out that these options aren't even needed for a correct build. 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", "--extra-include-dirs", and "--extra-lib-dirs".
-
Ricardo Wurmus authored
* 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.
-