1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 08:49:44 +01:00
home-manager/tests/modules/misc
Timothy Gallion 038630363e
xdg-mime type package options (#5920)
* xdg-mime: allow overrides to shared-mime-info and desktop-file-utils

The `xdg-mime` module now exposes packages to determine what will be run
for update-mime-database and update-desktop-database. This allows users
to select a different version of these packages if the are incompatible.
This should, in combination with an override to the version of
`shared-mime-info` (can be found here notalltim/home-manager-config#4),
resolve #4955, #5102, #4682, and possibly #4941. The problem seems to stem
from a mismatch in the version of `shared-mime-info` with the host.

I also switched from using `buildPackages` to `pkgs` to improve
cross-compilation compatibility.

* xdg-mime: Add tests for xdg-mime module

The xdg-mime module was missing tests so I added basic test for all the
options and checked the basic behavior. It covers ensuring that the
proper files/folders are created and that the package overrides work.
2024-10-07 23:39:24 +02:00
..
debug treewide: fix typos (#3618) 2023-01-24 11:30:04 +01:00
editorconfig editorconfig: add module (#3204) 2022-09-06 07:50:36 -06:00
fontconfig fontconfig: disable multiple font packages test 2020-07-31 17:30:57 +02:00
gtk gtk: fix incorrect test assertion 2022-03-24 00:08:37 +01:00
manual docs: use .xhtml for appendices 2023-12-16 15:46:42 +09:00
nix nix: add a declarative alternative to Nix channels (#4031) 2024-06-13 01:47:38 +00:00
numlock tests: add option test.stubs 2021-09-26 23:26:38 +02:00
pam pam: add yubico option 2021-12-16 19:46:47 +01:00
qt qt: use warnings API 2024-04-18 23:29:12 +02:00
specialisation specialisation: fix path 2023-06-13 08:51:05 +02:00
xdg xdg-mime type package options (#5920) 2024-10-07 23:39:24 +02:00
xsession tests: change quoting to match new Nixpkgs behavior 2024-09-08 23:32:19 +02:00