nixpkgs/pkgs/development/haskell-modules
sternenseemann ac1f1ad0e0 haskell: support cross in generateOptparseApplicativeCompletions
Deprecate haskell.lib{,.compose}.generateOptparseApplicativeCompletion*
in favor of the newly added
haskell.packages.*.generateOptparseApplicativeCompletions (plural!)
which takes into account whether we are cross-compiling or not. If we
are, generating completions is disabled, since we can't execute software
built for a different platform.

The move is necessary, so we can receive the /same/ stdenv as the
package we are overriding in order to accurately check whether we can
execute produced binaries.

Resolves #174040.
Resolves #49648.
2022-10-07 00:37:53 +02:00
..
configuration-hackage2nix haskell.packages.ghc924.haskell-language-server: Fix eval by pinning ghc-exactprint 2022-10-06 01:13:30 +02:00
lib haskell: support cross in generateOptparseApplicativeCompletions 2022-10-07 00:37:53 +02:00
patches haskellPackages.cachix: fix build 2022-09-25 11:09:09 +01:00
cabal2nix-unstable.nix haskellPackages.cabal2nix-unstable: 2022-07-17 -> 2022-07-22 2022-07-26 21:01:36 +02:00
configuration-arm.nix treewide: use isAarch where appropriate 2022-07-30 16:18:27 +00:00
configuration-common.nix haskell: support cross in generateOptparseApplicativeCompletions 2022-10-07 00:37:53 +02:00
configuration-darwin.nix haskellPackages.streaming-commons: Fix sandboxed build on Darwin 2022-08-25 00:53:59 -04:00
configuration-ghc-8.6.x.nix haskellPackages.cabal-install-solver: allow building directly 2022-08-27 10:02:59 +02:00
configuration-ghc-8.8.x.nix haskell.packages.ghc884.cabal-fmt: drop stale override 2022-10-07 00:24:25 +02:00
configuration-ghc-8.10.x.nix haskell: support cross in generateOptparseApplicativeCompletions 2022-10-07 00:37:53 +02:00
configuration-ghc-9.0.x.nix haskell-language-server: 1.7.0.0 -> 1.8.0.0 2022-09-21 05:23:07 +02:00
configuration-ghc-9.2.x.nix haskell.packages.ghc924.alex: remove obsolete override 2022-10-01 18:17:21 +02:00
configuration-ghc-9.4.x.nix haskell.packages.ghc942.haskell-language-server: Disable unsupported plugins to fix build 2022-10-06 00:52:38 +02:00
configuration-ghc-head.nix haskellPackages.terminfo: not a core pkg if cross compiling 2022-07-25 23:42:29 +02:00
configuration-ghcjs.nix Merge pull request #177489 from nomeata/joachim/ghcjs-base 2022-06-16 13:34:30 +09:00
configuration-nix.nix haskell: support cross in generateOptparseApplicativeCompletions 2022-10-07 00:37:53 +02:00
configuration-tensorflow.nix libtensorflow-bin: drop 2022-09-25 13:23:43 +02:00
default.nix treewide: use isAarch where appropriate 2022-07-30 16:18:27 +00:00
generic-builder.nix Merge pull request #172365 from sternenseemann/haskell-mk-derivation-stream-test 2022-05-21 16:44:49 +02:00
generic-stack-builder.nix treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
hackage-packages.nix haskell.packages.ghc924.haskell-language-server: Fix eval by pinning ghc-exactprint 2022-10-06 01:13:30 +02:00
HACKING.md haskell: Add link to current haskell update PR search 2022-08-29 10:46:34 +08:00
hoogle-local-wrapper.sh
hoogle.nix haskellPackages.hoogleLocal: allow substitutes again 2022-06-05 13:17:43 +02:00
initial-packages.nix Consistently use 'lib' instead of 'stdenv.lib' in the Haskell infrastructure. 2021-01-22 20:34:21 +01:00
make-package-set.nix haskell: support cross in generateOptparseApplicativeCompletions 2022-10-07 00:37:53 +02:00
non-hackage-packages.nix haskellPackages.distribution-nixpkgs: 1.6.2 -> 1.7.0 2022-07-20 12:05:09 +02:00
package-list.nix haskell.package-list: only include versions that conform to PVP 2022-03-20 11:43:37 +01:00
stack-hook.sh
with-packages-wrapper.nix ghcWithPackages: use haskellCompilerName for ghclibdir 2022-03-31 12:50:43 +02:00