tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
unixtools.utillinux: add column
requested on IRC
Matthew Bauer
7 years ago
d9332f2a
51d88f7d
+11
-1
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
bsd
netbsd
default.nix
top-level
unix-tools.nix
+6
pkgs/os-specific/bsd/netbsd/default.nix
···
548
548
NIX_CFLAGS_COMPILE = "-DYESSTR=__YESSTR -DNOSTR=__NOSTR";
549
549
};
550
550
551
551
+
column = netBSDDerivation {
552
552
+
path = "usr.bin/column";
553
553
+
version = "8.0";
554
554
+
sha256 = "0r6b0hjn5ls3j3sv6chibs44fs32yyk2cg8kh70kb4cwajs4ifyl";
555
555
+
};
556
556
+
551
557
};
552
558
553
559
in nbPackages
+5
-1
pkgs/top-level/unix-tools.nix
···
55
55
linux = pkgs.utillinux;
56
56
darwin = pkgs.darwin.text_cmds;
57
57
};
58
58
+
column = {
59
59
+
linux = pkgs.utillinux;
60
60
+
darwin = pkgs.netbsd.column;
61
61
+
};
58
62
eject = {
59
63
linux = pkgs.utillinux;
60
64
};
···
182
186
compat = with bins; lib.mapAttrs makeCompat {
183
187
procps = [ ps sysctl top watch ];
184
188
utillinux = [ fsck fdisk getopt hexdump mount
185
185
-
script umount whereis write col ];
189
189
+
script umount whereis write col column ];
186
190
nettools = [ arp hostname ifconfig netstat route ];
187
191
};
188
192
in bins // compat