nixpkgs/pkgs/development/haskell-modules/lib
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
..
compose.nix haskell: support cross in generateOptparseApplicativeCompletions 2022-10-07 00:37:53 +02:00
default.nix haskell.lib: move lib.nix into same directory as compose.nix 2022-01-22 21:38:03 +01:00