1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/tests/modules
Thiago Kenji Okada 2c0e3f61da
mpv: fix issue #1725 and add tests (#1726)
Closes issue #1725.

This allows mpv module to be customized with support for more advanced
features than the `programs.mpv.scripts` current support. For example,
with this change now this is possible:

```nix
{
  programs.mpv.package = (pkgs.wrapMpv (pkgs.mpv-unwrapped.override {
    vapoursynthSupport = true;
  }) {
    extraMakeWrapperArgs = [
      "--prefix" "LD_LIBRARY_PATH" ":" "${pkgs.vapoursynth-mvtools}/lib/vapoursynth"
    ];
  });
}

```

Since `programs.mpv.package` doesn't necessary reflect the final
derivation anymore (see #1524), we introduce `programs.mpv.finalPackage`
that has the resulting derivation.

This includes 2 tests:
- One to check if everything is alright with mpv
- Other to validate our assertion that package and scripts can't be
  passed both at the same time

* docs: document recent mpv module changes

* mpv: add thiagokokada as maintainer
2021-01-21 18:10:12 -05:00
..
accounts git: set SSL if useStartTls is false 2020-08-13 21:36:31 +02:00
files files: make sure the target file name is escaped 2020-08-29 18:22:03 +02:00
home-environment home-environment: add option home.sessionPath 2020-10-05 21:06:42 +02:00
misc xdg: disambiguate home.file attribute names 2020-10-22 23:51:01 +02:00
programs mpv: fix issue #1725 and add tests (#1726) 2021-01-21 18:10:12 -05:00
services sxhkd: configurable package and command line arguments 2021-01-16 10:57:32 +01:00
systemd systemd: use listsAsDuplicateKeys 2020-10-25 22:55:06 +01:00
targets-darwin tree-wide: update url to the repo 2020-10-22 22:41:56 +02:00
targets-linux targets/genericLinux: make locales work 2020-12-10 22:34:30 +01:00
xresources xresources: add missing test file 2020-06-28 11:23:34 +02:00