summaryrefslogtreecommitdiffstats
path: root/lass/2configs/mc.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-06-20 19:30:14 +0200
committertv <tv@krebsco.de>2017-06-20 19:30:14 +0200
commita9f4ad7586bfb543cdcdeacf93b71bdce506621a (patch)
treebe74bac26ea69ba9a7a6519ef12db86d1a953927 /lass/2configs/mc.nix
parent57c6b890f9088bb333eeab215ecfeca9d09ce3ef (diff)
concat: RIP
Diffstat (limited to 'lass/2configs/mc.nix')
-rw-r--r--lass/2configs/mc.nix25
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 "$@"
+ '')
+ ];
+ })
];
}