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
NIX_CFLAGS_COMPILE = "-DYESSTR=__YESSTR -DNOSTR=__NOSTR";
549
};
550
0
0
0
0
0
0
551
};
552
553
in nbPackages
···
548
NIX_CFLAGS_COMPILE = "-DYESSTR=__YESSTR -DNOSTR=__NOSTR";
549
};
550
551
+
column = netBSDDerivation {
552
+
path = "usr.bin/column";
553
+
version = "8.0";
554
+
sha256 = "0r6b0hjn5ls3j3sv6chibs44fs32yyk2cg8kh70kb4cwajs4ifyl";
555
+
};
556
+
557
};
558
559
in nbPackages
+5
-1
pkgs/top-level/unix-tools.nix
···
55
linux = pkgs.utillinux;
56
darwin = pkgs.darwin.text_cmds;
57
};
0
0
0
0
58
eject = {
59
linux = pkgs.utillinux;
60
};
···
182
compat = with bins; lib.mapAttrs makeCompat {
183
procps = [ ps sysctl top watch ];
184
utillinux = [ fsck fdisk getopt hexdump mount
185
-
script umount whereis write col ];
186
nettools = [ arp hostname ifconfig netstat route ];
187
};
188
in bins // compat
···
55
linux = pkgs.utillinux;
56
darwin = pkgs.darwin.text_cmds;
57
};
58
+
column = {
59
+
linux = pkgs.utillinux;
60
+
darwin = pkgs.netbsd.column;
61
+
};
62
eject = {
63
linux = pkgs.utillinux;
64
};
···
186
compat = with bins; lib.mapAttrs makeCompat {
187
procps = [ ps sysctl top watch ];
188
utillinux = [ fsck fdisk getopt hexdump mount
189
+
script umount whereis write col column ];
190
nettools = [ arp hostname ifconfig netstat route ];
191
};
192
in bins // compat