1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00
home-manager/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 Move email account options to their owning modules 2020-06-16 00:45:20 +02:00
lib mpv: fix issue #1725 and add tests (#1726) 2021-01-21 18:10:12 -05:00
lib-bash home-manager: respect NIX_STATE_DIR 2020-06-14 20:41:55 +02:00
misc dconf: make sure the configuration directory exists 2021-01-21 20:35:03 +01: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
targets targets/genericLinux: make locales work 2020-12-10 22:34:30 +01:00
default.nix flake: add extraSpecialArgs 2021-01-07 21:13:28 +01:00
files.nix files: make sure the target file name is escaped 2020-08-29 18:22:03 +02:00
home-environment.nix home-environment: add option home.sessionPath 2020-10-05 21:06:42 +02:00
manual.nix Switch to extended Nixpkg's lib 2020-01-21 20:47:04 +01:00
modules.nix plan9port: add module 2021-01-02 08:50:57 +01:00
systemd-activate.rb Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd-activate.sh Revert "systemd: use sd-switch" 2020-08-04 19:38:14 +02:00
systemd.nix systemd: support sd-switch 2020-12-13 22:00:30 +01:00
xcursor.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00
xresources.nix xresources: do not generate file for empty properties 2020-06-28 00:41:05 +02:00
xsession.nix Apply nixfmt on many files 2020-02-02 01:07:28 +01:00