nixpkgs/pkgs/development/haskell-modules
Georges Dubus 2645e1a1eb cabal2nix: split into a lightweight version and a wrapper
Current, the `cabal2nix` derivation contains both the executable, and a wrapper
that adds `nix` and `nix-prefetch-scripts`, which are required for some
features.

However, when calling `callCabal2nix` to create a derivation from a cabal file
at evaluation time,
these features are not actually used, but the huge closure of
`nix-prefetch-scripts` (which includes multiple vcs, as well as python and perl)
still needs to be fetched.

This commit splits cabal2nix into a lightweight version that is a standalone
static binary (`cabal2nix-unwrapped`), and a wrapper that includes the proper
dependencies in the path for full usage of the command line
utility (`cabal2nix`).

This commit also switches to the default ghc, to reduce the likelyhood of
building a different ghc when calling `callCabal2nix`.
2020-03-13 20:18:14 +01:00
..
patches haskellPackages.stack: get compiling with ghc882 2020-03-06 21:42:12 +01:00
configuration-common.nix haskell-ci: fix the build 2020-03-06 22:15:14 +01:00
configuration-ghc-8.2.x.nix configuration-ghc-8.2.x: use default llvmPackages 2020-01-30 18:35:30 -05:00
configuration-ghc-8.4.x.nix jailbreak-cabal: updated package needs updated Cabal library 2019-09-06 17:27:21 +02:00
configuration-ghc-8.6.x.nix stylish-cabal: fix the build 2020-02-29 11:10:19 +01:00
configuration-ghc-8.8.x.nix haskellPackages.semver-range: disable tests on ghc88x 2020-03-06 22:15:11 +01:00
configuration-ghc-8.10.x.nix haskell-ChasingBottoms: jailbreak to fix build with ghc-8.10.x 2020-02-28 20:42:27 +01:00
configuration-ghc-head.nix
configuration-ghcjs.nix configuration-ghcjs.nix: fix evaluation 2019-09-30 12:52:43 +02:00
configuration-hackage2nix.yaml zxcvbn-dvorak: unmark as broken 2020-03-13 20:18:13 +01:00
configuration-nix.nix spago: unbreak after update to ghc-8.8.2 2020-03-06 22:15:12 +01:00
configuration-tensorflow.nix haskell: fix evaluation error in tensorflow-proto 2019-09-11 10:52:04 +02:00
default.nix
generic-builder.nix haskell generic-builder: fix Darwin regression for lmdb 2020-02-17 09:41:31 +01:00
generic-stack-builder.nix buildStackProject: Set __noChroot to make it fail without sandbox 2019-11-14 01:32:04 +01:00
hackage-packages.nix hackage-packages.nix: automatic Haskell package set update 2020-03-06 22:15:05 +01:00
hoogle-local-wrapper.sh
hoogle.nix ghcWithHoogle: Fix for cross 2019-12-24 18:17:41 -05:00
initial-packages.nix
lib.nix haskell/lib: Introduce markUnbroken helper 2019-07-14 12:26:04 -04:00
make-package-set.nix cabal2nix: split into a lightweight version and a wrapper 2020-03-13 20:18:14 +01:00
non-hackage-packages.nix haskellPackages.multi-ghc-travis: add missing space (PR #76648) 2019-12-29 19:27:25 +01:00
stack-hook.sh
with-packages-wrapper.nix Revert "haskell/with-packages-wrapper.nix: install "doc" outputs" 2020-01-10 15:20:08 +01:00