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/mc.nix | |
parent | fbabdb5081366e295fb10a2486fcc66e43a20ed1 (diff) | |
parent | a9f4ad7586bfb543cdcdeacf93b71bdce506621a (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'lass/2configs/mc.nix')
-rw-r--r-- | lass/2configs/mc.nix | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/lass/2configs/mc.nix b/lass/2configs/mc.nix index 513ee1bd0..62fd52f3f 100644 --- a/lass/2configs/mc.nix +++ b/lass/2configs/mc.nix @@ -322,17 +322,20 @@ let in { environment.systemPackages = [ - (pkgs.concat "mc" [ - pkgs.mc - (pkgs.writeDashBin "mc" '' - export MC_DATADIR=${pkgs.writeOut "mc-ext" { - "/mc.ext".link = mcExt; - "/sfs.ini".text = ""; - }}; - export TERM=xterm-256color - exec ${pkgs.mc}/bin/mc -S xoria256 "$@" - '') - ]) + (pkgs.symlinkJoin { + name = "mc"; + paths = [ + pkgs.mc + (pkgs.writeDashBin "mc" '' + export MC_DATADIR=${pkgs.writeOut "mc-ext" { + "/mc.ext".link = mcExt; + "/sfs.ini".text = ""; + }}; + export TERM=xterm-256color + exec ${pkgs.mc}/bin/mc -S xoria256 "$@" + '') + ]; + }) ]; } |