• adisbladis@lemmy.blad.is
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    NixOS had some problems particularly the llvm and clang compilers that complained a lot about missing standard libraries and headers.

    I think it’s likely that you’re trying to just add clang/llvm toolchains to your development shell like this:

    pkgs.mkShell { packages = [
      llvmPackages_16.clang
    ]; };
    

    But you actually want something like:

    (mkShell.override { inherit (llvmPackages_16) stdenv; }) {
      packages = [ ];
    }