1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00

unixtools.utillinux: add column

requested on IRC
This commit is contained in:
Matthew Bauer 2019-01-23 16:35:11 -05:00
parent 51d88f7d20
commit d9332f2a71
2 changed files with 11 additions and 1 deletions

View file

@ -548,6 +548,12 @@ let
NIX_CFLAGS_COMPILE = "-DYESSTR=__YESSTR -DNOSTR=__NOSTR";
};
column = netBSDDerivation {
path = "usr.bin/column";
version = "8.0";
sha256 = "0r6b0hjn5ls3j3sv6chibs44fs32yyk2cg8kh70kb4cwajs4ifyl";
};
};
in nbPackages

View file

@ -55,6 +55,10 @@ let
linux = pkgs.utillinux;
darwin = pkgs.darwin.text_cmds;
};
column = {
linux = pkgs.utillinux;
darwin = pkgs.netbsd.column;
};
eject = {
linux = pkgs.utillinux;
};
@ -182,7 +186,7 @@ let
compat = with bins; lib.mapAttrs makeCompat {
procps = [ ps sysctl top watch ];
utillinux = [ fsck fdisk getopt hexdump mount
script umount whereis write col ];
script umount whereis write col column ];
nettools = [ arp hostname ifconfig netstat route ];
};
in bins // compat