diff options
author | lassulus <lass@lassul.us> | 2017-06-20 19:31:19 +0200 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-06-20 19:31:19 +0200 |
commit | 915ccf6ee26688be9daf37a6083b91be95cae024 (patch) | |
tree | 18dd85796c90fe7898a2b3a8e8c505ea672598a3 /lass/2configs/mpv.nix | |
parent | fbabdb5081366e295fb10a2486fcc66e43a20ed1 (diff) | |
parent | a9f4ad7586bfb543cdcdeacf93b71bdce506621a (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'lass/2configs/mpv.nix')
-rw-r--r-- | lass/2configs/mpv.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lass/2configs/mpv.nix b/lass/2configs/mpv.nix index bb068e7a1..c8b590857 100644 --- a/lass/2configs/mpv.nix +++ b/lass/2configs/mpv.nix @@ -7,12 +7,15 @@ let delete ]; - mpv = pkgs.concat "mpv" [ - pkgs.mpv - (pkgs.writeDashBin "mpv" '' - exec ${pkgs.mpv}/bin/mpv --no-config --script=${scripts} "$@" - '') - ]; + mpv = pkgs.symlinkJoin { + name = "mpv"; + paths = [ + pkgs.mpv + (pkgs.writeDashBin "mpv" '' + exec ${pkgs.mpv}/bin/mpv --no-config --script=${scripts} "$@" + '') + ]; + }; moveToDir = key: dir: pkgs.writeText "move-with-${key}.lua" '' tmp_dir = "${dir}" |