1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00
home-manager/tests/modules/programs/gcc/basic-configuration.nix
Austin Horstman c2e3f1cacd tests/gcc: add tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
2025-10-05 16:22:37 -05:00

13 lines
286 B
Nix

{
config = {
programs.gcc = {
enable = true;
};
nmt.script = ''
# Verify no GCC_COLORS environment variable is set when colors is empty
hmEnvFile=home-path/etc/profile.d/hm-session-vars.sh
assertFileNotRegex $hmEnvFile 'GCC_COLORS'
'';
};
}