starship
requires $CC
when going into a C repository (nixpkgs/nix
to be exact) #17
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
starship
requires$CC
when going into a C repository (nixpkgs/nix
to be exact)Reproduce
git clone https://github.com/nixpkgs/nix.git
z nix
$CC
fordarwin
programs.starship.enable = false
z nix
$CC
Why?
It appears that Starship is doing something to determine the C version, which is likely causing the prompts.
In the configuration file starship.toml, each language has a specific module. In each module, the language version is automatically displayed. It seems the C module is not included in the current version of Starship
Addressed in #18 by straight up disabling
c
. This is because there is technical limitation withhome-manager.config.programs.starship.settings.c.commands
not supporting nested lists