mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
tests/gcc: add tests
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
78fda50bd6
commit
c2e3f1cacd
3 changed files with 38 additions and 0 deletions
13
tests/modules/programs/gcc/basic-configuration.nix
Normal file
13
tests/modules/programs/gcc/basic-configuration.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
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'
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue