mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
qt: assert kde6 migration warning
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
platformTheme.name = "kde6"; # Should trigger warning and convert to "kde"
|
||||
};
|
||||
|
||||
test.asserts.warnings.expected = [
|
||||
''
|
||||
The value "kde6" for `qt.platformTheme.name` is deprecated and will be
|
||||
removed in a future release. Please use "kde" instead.
|
||||
''
|
||||
];
|
||||
|
||||
nmt.script = ''
|
||||
# Verify that kde6 gets converted to kde in QT_QPA_PLATFORMTHEME
|
||||
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
||||
|
||||
Reference in New Issue
Block a user