summaryrefslogtreecommitdiffstats
path: root/lass/2configs/mpv.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-06-20 19:31:19 +0200
committerlassulus <lass@lassul.us>2017-06-20 19:31:19 +0200
commit915ccf6ee26688be9daf37a6083b91be95cae024 (patch)
tree18dd85796c90fe7898a2b3a8e8c505ea672598a3 /lass/2configs/mpv.nix
parentfbabdb5081366e295fb10a2486fcc66e43a20ed1 (diff)
parenta9f4ad7586bfb543cdcdeacf93b71bdce506621a (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'lass/2configs/mpv.nix')
-rw-r--r--lass/2configs/mpv.nix15
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}"