2016-05-04 15:21:09 +00:00
|
|
|
{ pkgs, lib, ... }:
|
2016-04-28 20:55:18 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
|
2017-06-20 17:30:14 +00:00
|
|
|
mpv = pkgs.symlinkJoin {
|
|
|
|
name = "mpv";
|
|
|
|
paths = [
|
|
|
|
(pkgs.writeDashBin "mpv" ''
|
2017-08-25 21:48:16 +00:00
|
|
|
exec ${pkgs.mpv}/bin/mpv --no-config "$@"
|
2017-06-20 17:30:14 +00:00
|
|
|
'')
|
2017-06-24 14:40:49 +00:00
|
|
|
pkgs.mpv
|
2017-06-20 17:30:14 +00:00
|
|
|
];
|
|
|
|
};
|
2016-04-28 20:55:18 +00:00
|
|
|
|
|
|
|
in {
|
2017-05-11 16:03:51 +00:00
|
|
|
environment.systemPackages = [
|
2016-04-28 20:55:18 +00:00
|
|
|
mpv
|
|
|
|
];
|
|
|
|
}
|