style(flake): adding color to flake message
This commit is contained in:
parent
dbbe94d702
commit
bd00c757d5
1 changed files with 11 additions and 1 deletions
12
flake.nix
12
flake.nix
|
|
@ -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"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue