3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/ghc
sternenseemann 17b8b5a4dc haskell.compiler.*: pass runtime dependencies via configure script
GHC can actually accept absolute paths for its runtime tools (except for
touch) at configure time which are then saved in
`$out/lib/ghc-${version}/settings`. This allows us to drop the wrapper
entirely if we assume that a POSIX compliant touch is in PATH when we
run GHC later.

The touch problem can presumably be fixed by either patching the
configure file of GHC (although we need to take care not to change the
touch GHC uses during its compilation) or messing with the settings file
after installation.

The rationale for dropping the wrapper PATH entry completely is that
it's always possible to invoke GHC via its library which will bypass the
wrapper completely, leading to subtly different behavior.

Binary GHCs are not touched in this commit, but ideally they'll get a
similar treatment as well, so they are more robust, although we
generally don't need to use them as a library.

Note that GHC 8.8.4 doesn't care about install_name_tool or otool, so
the respective environment variables are not set.
2021-11-27 14:39:22 +01:00
..
8.6.5-binary.nix haskell.compiler.ghc*Binary: add all missing runtimeDeps to PATH 2021-11-25 15:42:47 +01:00
8.8.4.nix haskell.compiler.*: pass runtime dependencies via configure script 2021-11-27 14:39:22 +01:00
8.10.2-binary.nix haskell.compiler.ghc*Binary: add all missing runtimeDeps to PATH 2021-11-25 15:42:47 +01:00
8.10.7-binary.nix haskell.compiler.ghc*Binary: add all missing runtimeDeps to PATH 2021-11-25 15:42:47 +01:00
8.10.7.nix haskell.compiler.*: pass runtime dependencies via configure script 2021-11-27 14:39:22 +01:00
9.0.1.nix haskell.compiler.*: pass runtime dependencies via configure script 2021-11-27 14:39:22 +01:00
9.2.1.nix haskell.compiler.*: pass runtime dependencies via configure script 2021-11-27 14:39:22 +01:00
backport-dylib-command-size-limit.patch
gcc-clang-wrapper.sh
head.nix haskell.compiler.*: pass runtime dependencies via configure script 2021-11-27 14:39:22 +01:00
issue-18549.patch
rename-numa-api-call.patch ghc8.8.4: fix mingw build 2021-09-09 03:35:17 +01:00
respect-ar-path.patch Fix ar command path in GHC. 2021-02-05 22:54:09 +01:00
sphinx-4-configuration.patch haskell.compiler.ghc8104: patch for sphinx >= 4.0 2021-06-22 13:42:55 +02:00