git.iko.soy/typeable/nixpkgs
on master help sign in
unixtools.utillinux: add column

requested on IRC

commitd9332f2a7159a6cbdcd63c8d4c739982ce850a0c authorMatthew Bauer <mjbauer95@gmail.com> dateWed 23 Jan 2019, 16:35 (8 years ago) parent51d88f7
2 files changed+11−1
pkgs/os-specific/bsd/netbsd/default.nix+6 pkgs/top-level/unix-tools.nix+5−1
pkgs/os-specific/bsd/netbsd/default.nix+6
@@ -548,6 +548,12 @@ let
548548 NIX_CFLAGS_COMPILE = "-DYESSTR=__YESSTR -DNOSTR=__NOSTR";
549549 };
550550
551+ column = netBSDDerivation {
552+ path = "usr.bin/column";
553+ version = "8.0";
554+ sha256 = "0r6b0hjn5ls3j3sv6chibs44fs32yyk2cg8kh70kb4cwajs4ifyl";
555+ };
556+
551557 };
552558
553559in nbPackages
pkgs/top-level/unix-tools.nix+5−1
@@ -55,6 +55,10 @@ let
5555 linux = pkgs.utillinux;
5656 darwin = pkgs.darwin.text_cmds;
5757 };
58+ column = {
59+ linux = pkgs.utillinux;
60+ darwin = pkgs.netbsd.column;
61+ };
5862 eject = {
5963 linux = pkgs.utillinux;
6064 };
@@ -182,7 +186,7 @@ let
182186 compat = with bins; lib.mapAttrs makeCompat {
183187 procps = [ ps sysctl top watch ];
184188 utillinux = [ fsck fdisk getopt hexdump mount
185− script umount whereis write col ];
189+ script umount whereis write col column ];
186190 nettools = [ arp hostname ifconfig netstat route ];
187191 };
188192in bins // compat