build(nix/shell): Adding a shell hook to flake
- Adding the CC environnment variable - Printing the message to announce the end of init
This commit is contained in:
parent
9c42c97214
commit
75a218c47f
1 changed files with 4 additions and 0 deletions
|
|
@ -20,5 +20,9 @@
|
|||
pkgs.tree
|
||||
] ++ (if pkgs.stdenv.isLinux then [ pkgs.valgrind ] else [ ]);
|
||||
};
|
||||
shellHook = ''
|
||||
export CC=${pkgs.clang}
|
||||
printf "\n\033[0;90mC env loaded for: \033[38;5;220m${system}\033[0m\n"
|
||||
'';
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue