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