nixpkgs/pkgs/by-name/ni
a-n-n-a-l-e-e ce789e7e35
llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043)
- merge libcxxabi into libcxx for LLVM 12, 13, 14, 15, 16, 17, and git.
- remove the link time workaround `-lc++ -lc++abi` from 58 packages as it is no longer required.
- fixes https://github.com/NixOS/nixpkgs/issues/166205
- provides alternative fixes for. https://github.com/NixOS/nixpkgs/issues/269548 https://github.com/NixOS/nix/issues/9640
- pkgsCross.x86_64-freebsd builds work again

This change can be represented in 3 stages
1. merge libcxxabi into libcxx -- files: pkgs/development/compilers/llvm/[12, git]/{libcxx, libcxxabi}
2. update stdenv to account for merge -- files: stdenv.{adapters, cc.wrapper, darwin}
3. remove all references to libcxxabi outside of llvm (about 58 packages modified)

### merging libcxxabi into libcxx
- take the union of the libcxxabi and libcxx cmake flags
- eliminate the libcxx-headers-only package - it was only needed to break libcxx <-> libcxxabi circular dependency
- libcxx.cxxabi is removed. external cxxabi (freebsd) will symlink headers / libs into libcxx.
- darwin will re-export the libcxxabi symbols into libcxx so linking `-lc++` is sufficient.
- linux/freebsd `libc++.so` is a linker script `LINK(libc++.so.1, -lc++abi)` making `-lc++` sufficient.
- libcxx/default.nix [12, 17] are identical except for patches and `LIBCXX_ADDITIONAL_LIBRARIES` (only used in 16+)
- git/libcxx/defaul.nix  does not link with -nostdlib when useLLVM is true so flag is removed. this is not much different than before as libcxxabi used -nostdlib where libcxx did not, so libc was linked in anyway.

### stdenv changes
- darwin bootstrap, remove references to libcxxabi and cxxabi
- cc-wrapper: remove c++ link workaround when libcxx.cxxabi doesn't exist (still exists for LLVM pre 12)
- adapter: update overrideLibcxx to account for a pkgs.stdenv that only has libcxx

### 58 package updates
- remove `NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}` as no longer needed
- swift, nodejs_v8 remove libcxxabi references in the clang override

https://github.com/NixOS/nixpkgs/pull/292043
2024-03-11 03:53:37 -07:00
..
nickel llvmPackages_{12,13,14,15,16,17,git}.{libcxx,libcxxabi}: merge libcxxabi into libcxx (#292043) 2024-03-11 03:53:37 -07:00
nightfox-gtk-theme nightfox-gtk-theme: init at unstable-2023-05-28 2024-01-28 18:57:03 +01:00
nilaway nilaway: init at unstable-2023-11-17 2023-11-21 14:04:19 +00:00
nim_builder buildNimPackage: load lockfiles and overrides 2023-11-28 16:48:10 +02:00
nim_lk nim_lk: wrap with nix-prefetch, nix-prefetch-git 2023-11-28 16:48:10 +02:00
nim-atlas nim-atlas: migrate from nimPackages.atlas 2023-11-28 16:48:10 +02:00
nimble nimble: migrate from nimPackages 2023-11-28 16:48:10 +02:00
nimdow nimdow: build with lockfile 2023-11-28 16:48:10 +02:00
nimlangserver nimlangserver: add missing newline 2024-02-22 11:20:45 +00:00
nimlsp nimlsp: 0.4.4 -> 0.4.6 2024-01-28 16:18:53 +01:00
nimmm nimmm: 0.2.0 -> 0.3.0 2023-12-03 13:32:47 +01:00
niri niri: add foo-dogsquared as maintainer 2024-03-09 22:38:19 +08:00
nitch nitch: use new buildNimPackage 2023-11-28 16:48:10 +02:00
nitter nitter: unstable-2024-01-12 -> unstable-2024-02-26 2024-02-26 09:14:37 +00:00
nix-direnv nix-direnv: 3.0.3 -> 3.0.4 2024-01-02 22:49:43 +01:00
nix-health nix-health: init at 0.2.3 2023-10-20 11:23:03 -04:00
nix-lib-nmd nmd: turn into a fixed-output derivation 2024-01-15 16:38:44 +01:00
nix-lib-nmt nmt: 0.5.0 -> 0.5.1 2024-01-15 16:38:44 +01:00
nix-search-cli nix-search-cli: init at unstable-2023-09-12 2023-11-15 15:05:55 +01:00
nix-unit nix-unit: init at 2.18.0 2023-11-29 03:38:53 +13:00
nix-web nix-web: Build on platforms.unix, depend on OpenSSL if not on Darwin 2023-12-15 19:08:43 +01:00
nixfmt-rfc-style nixfmt-rfc-style: 2024-01-31 -> 2024-03-01 2024-03-01 18:44:51 +01:00
nixops-dns nixops-dns: relocate to pkgs/by-name 2023-10-26 19:05:15 +03:00
nixos-anywhere nixos-anywhere: 1.1.0 -> 1.1.1 2023-12-23 09:39:29 +01:00
nixos-firewall-tool nixos-firewall-tool: init at 0.0.1 2023-11-05 22:16:53 +01:00
nixseparatedebuginfod nixseparatedebuginfod: 0.3.2 -> 0.3.3 2024-01-14 19:37:59 +01:00