home-manager/tests
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
..
integration kitty: remove IFD 2024-09-20 09:02:48 +02:00
lib senpai: switch to scfg format 2024-03-15 11:42:17 +01:00
modules xdg-mime type package options (#5920) 2024-10-07 23:39:24 +02:00
asserts.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
big-test.nix treewide: remove now-redundant lib.mdDoc calls 2023-07-17 18:49:09 +01:00
default.nix borgmatic: note Darwin platform support 2024-10-01 23:11:40 +02:00
stubs.nix tests: add mkStubPackage in Nixpkgs overlay 2024-03-03 06:56:05 +01:00