home-manager/doc
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
..
release-notes mpv: fix issue #1725 and add tests (#1726) 2021-01-21 18:10:12 -05:00
contributing.adoc docs: improve phrasing around backwards compatibility 2020-12-31 00:46:56 +01:00
default.nix docs: NixOS and nix-darwin option documentation 2021-01-21 23:45:52 +01:00
faq.adoc doc: move FAQ to manual 2020-05-07 23:46:13 +02:00
installation.adoc docs: some extension for flakes users 2020-12-31 15:12:40 +01:00
man-configuration.xml docs: use nmd for generating documentation 2019-08-21 20:35:59 +02:00
man-home-manager.xml home-manager: pass -j to nix-build 2020-11-13 23:56:57 +01:00
man-pages.xml Bump copyright year 2020-02-25 19:27:54 +01:00
manual.xml docs: NixOS and nix-darwin option documentation 2021-01-21 23:45:52 +01:00
writing-modules.adoc lib: support gvariant maybe type 2020-07-24 16:45:13 +02:00