minus-squareadisbladis@lemmy.blad.istoOperating Systems@beehaw.org•That Computer Scientist - Nix is the New Arch!linkfedilinkEnglisharrow-up2·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 = [ ]; } linkfedilink
adisbladis@lemmy.blad.is to Lemmy.nz Support@lemmy.nz · 1 year agoConsider hosting a medical cannabis communityplus-squaremessage-squaremessage-square0fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareConsider hosting a medical cannabis communityplus-squareadisbladis@lemmy.blad.is to Lemmy.nz Support@lemmy.nz · 1 year agomessage-square0fedilink
I think it’s likely that you’re trying to just add clang/llvm toolchains to your development shell like this:
But you actually want something like: