Oh oops we missed the whole part about runCommandCC
and we were slightly wrong — sorry about that 😅. I agree that this is silly behavior, but changing it by default is a bit fraught
This is because nix-shell -p
uses pkgs.mkShell
under the hood, which is a wrapper around stdenv.mkDerivation
, and thus always gives you stdenv.cc
(GCC on Linux).
Making nix-shell -p
…
can we disable precompiled headers for non-clang devshells specifically, maybe with a warning or a
-without-lsp
variant? we tend to use clangd as lsp but gcc stdenv for compiling stuff…
It seems like that's only ultimately used in two places:
6e59b4b407/tests/functional/bash-profile.sh (L3)
and
…
nix flake show
kind of obscures the table thingy
It seems in general that a lot of the stuff that only ever ran under nix3 manually offset their verbosities to compensate for the lower default log level? So after d0390b5cf I guess they need to…
This shouldn't be too hard. The :
commands currently are hardcoded (lol) in src/libcmd/repl.cc
in NixRepl::processLine()
. We just need to shove the list of possible colon commands in…