This change raises the question of whether we should disable building of shared
libraries altogether (since we don't link them). Unfortunately, we can't,
because GHC expects shared libraries to be around when building and running
test suites, and no amount of passing --disable-shared flags at configure time
changes the fact. I *guess* that's related to the DYNAMIC_GHC_PROGRAMS = YES
flag we set when building GHC itself, but I haven't investigated it further
yet.
Closes https://github.com/NixOS/nixpkgs/issues/29011.
Unless specified otherwise, the default package set compiles library variants
for profiling with profiling-detail "all-functions". Executables, however, are
not built with profiling enabled.
This change increases the closure size for many Haskell programs, but the
practical advantage of having stack traces and performance measurements easily
available during development seems to outweigh that cost.
Closes https://github.com/NixOS/nixpkgs/issues/22340.
None of these old compilers are used anywhere in Nixpkgs, and keeping those
builds working in the face of regular updates of GCC, binutils, and whatnot is
too much effort for no obvious benefit.
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_CMakeLists -h` got 0 exit code
- ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_CMakeLists help` got 0 exit code
- ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_cmake_script -h` got 0 exit code
- ran `/nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1/bin/cgal_create_cmake_script --help` got 0 exit code
- found 4.11.1 with grep in /nix/store/prp059sdh2cfi1n6m1y43w7hf33ixs7x-cgal-4.11.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 1.4.10 with grep in /nix/store/qb91mvvbzd45xcnd640m0wq8z915d257-aws-sdk-cpp-1.4.10