style(flake): adding color to flake message

This commit is contained in:
Raphael 2025-05-05 13:41:19 +02:00
parent dbbe94d702
commit bd00c757d5

View file

@ -16,11 +16,21 @@
buildInputs = with pkgs; [
clang
clang-tools
];
] ++ (
if pkgs.stdenv.isLinux then [
valgrind
] else []
);
shellHook = ''
export DIRENV_LOG_FORMAT=""
export NIX_SHOW_STATS=0
export NIX_HIDE_STATS=1
export CXX=clang++
export CC=clang
export CFLAGS="-std=c89 -Wall -Werror -Wextra"
export CXXFLAGS="-std=cpp98 -Wall -Werror -Wextra"
printf "\n\033[0;90mCPP env loaded for: \033[38;5;220m${system}\033[0m\n"
'';
};
}