12 lines
356 B
Nix
12 lines
356 B
Nix
|
{llvmPackages_19, ...}: let
|
||
|
cursed-libcxx-stdenv = llvmPackages_19.libcxxStdenv.overrideAttrs (oa: {
|
||
|
postFixup =
|
||
|
(oa.postFixup or "")
|
||
|
+ ''
|
||
|
ln -sf ${llvmPackages_19.libcxx}/lib/libc++.modules.json $out/resource-root/libc++.modules.json
|
||
|
ln -sf ${llvmPackages_19.libcxx}/share $out
|
||
|
'';
|
||
|
});
|
||
|
in
|
||
|
cursed-libcxx-stdenv
|