1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/stdenv
Sergei Trofimovich 55249c817f stdenv.adapters: fixx overrideLibcxx to refer to existing compiler-rt
Before the change `pkgsLLVM` attributes were failing to pull in
`compiler-rt` on `x86_64-linux`:

    $ nix build --no-link -f. pkgsLLVM.asciidoc-full
    error:
       error: attribute 'llvmPackages_13' missing

       at pkgs/stdenv/adapters.nix:86:32:

           85|       inherit libcxx;
           86|       extraPackages = [ cxxabi pkgs.pkgsTargetTarget."llvmPackages_${lib.versions.major llvmLibcxxVersion}".compiler-rt ];
             |                                ^
           87|     });

It happens because `pkgs.pkgsTargetTarget` are always empty for
cross-packages like `pkgsLLVM.`, `pkgsCross.*.` or
`--arg crossSystem '...'`.
2024-01-07 22:11:49 +00:00
..
cross
custom
cygwin
darwin darwin/make-bootstrap-tools.nix: set -headerpad_max_install_names for coreutils 2023-12-13 17:57:25 +00:00
freebsd
generic stdenv/check-meta: Use bespoke type checking 2023-12-26 15:14:42 +13:00
linux stdenv: fix eval of pkgsMusl packages with platform constraints 2023-12-28 15:29:29 +00:00
native
nix
tests
adapters.nix stdenv.adapters: fixx overrideLibcxx to refer to existing compiler-rt 2024-01-07 22:11:49 +00:00
booter.nix
default.nix