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:
Raphael 2025-09-19 16:21:43 +02:00
parent 9c42c97214
commit 75a218c47f
No known key found for this signature in database

View file

@ -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"
'';
});
}