ericjmorey@programming.dev to Operating Systems@beehaw.orgEnglish · 1 year agoThat Computer Scientist - Nix is the New Arch!thatcomputerscientist.comexternal-linkmessage-square7fedilinkarrow-up114arrow-down10 cross-posted to: classicblogposts@lemm.eelinux@programming.devlinux@lemmy.ml
arrow-up114arrow-down1external-linkThat Computer Scientist - Nix is the New Arch!thatcomputerscientist.comericjmorey@programming.dev to Operating Systems@beehaw.orgEnglish · 1 year agomessage-square7fedilink cross-posted to: classicblogposts@lemm.eelinux@programming.devlinux@lemmy.ml
minus-squareadisbladis@lemmy.blad.islinkfedilinkEnglisharrow-up1·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 = [ ]; }
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: