Commit Graph

44 Commits

Author SHA1 Message Date
Matthew Bauer
7cc40e15e4 treewide/nixos: use stdenv.cc.libc instead of glibc when available
This prevents duplication in cross-compiled nixos machines. The
bootstrapped glibc differs from the natively compiled one, so we get
two glibc’s in the closure. To reduce closure size, just use
stdenv.cc.libc where available.
2020-04-06 16:36:27 -04:00
Matthew Bauer
a08d462563
unix-tools: default when no provider exists 2019-06-04 22:45:11 -04:00
Matthew Bauer
accfd7ca08 unix-tools: get platforms from doubles 2019-04-30 17:43:52 -04:00
Matthew Bauer
228f2ea6a7 unix-tools: set low priority 2019-02-18 21:09:47 -05:00
Matthew Bauer
d9332f2a71 unixtools.utillinux: add column
requested on IRC
2019-01-23 16:35:11 -05:00
John Ericson
0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Matthew Bauer
f1a14f9844 unixtools: link instead of copying
This is better for disk space.
2018-07-09 12:00:32 -04:00
Matthew Bauer
7e4ce2cfcb unixtools: refactor 2018-07-09 12:00:31 -04:00
Matthew Bauer
8ab5cc3202 unixtools: add watch command 2018-07-09 11:59:55 -04:00
Matthew Bauer
2f523dd9a4 xxd: move to unixtools
also add manpage to unixtools if provided to give compat with old xxd.
2018-07-05 17:55:50 -04:00
Matthew Bauer
bceb29f177 unixtools: add killall 2018-06-27 16:45:52 -04:00
Orivej Desh
7f3de60758 Merge branch 'master' into staging
* master: (161 commits)
  pcsclite: clean up after #41790
  tor: 0.3.3.6 -> 0.3.3.7
  opae: init at 1.0.0
  tinc: 1.0.33 -> 10.0.34
  tinc_pre: 1.1pre15 -> 1.1pre16
  sit: 0.3.2 -> 0.4.0 (#41863)
  platforms/raspberrypi: enable kernelAutoModules
  libupnp: 1.6.21 -> 1.8.3 (#41684)
  androidStudioPackages.{dev,canary}: 3.2.0.16 -> 3.2.0.17
  tdesktop: 1.3.0 -> 1.3.7
  gns3Packages.{server,gui}{Stable,Preview}: 2.1.6 -> 2.1.7
  aws-sam-cli: init at 0.3.0 (#41877)
  nixos/nat: optional networking.nat.externalInterface (#41864)
  linux: 4.17 -> 4.17.1
  linux: 4.16.14 -> 4.16.15
  linux: 4.14.48 -> 4.14.49
  nixos/unbound: add restart (#41885)
  maintainers/create-azure.sh: remove hydra.nixos.org as binary cache (#41883)
  gshogi: init at 0.5.1 (#41840)
  neovim: add missing libiconv
  ...
2018-06-12 20:41:41 +00:00
Matthew Justin Bauer
4ca4c886e4
unix-tools.nix: install binary instead of linking
This gives us a little smaller closure & was the original intent with unix-tools.nix. Some merge must have gotten rid of it.
2018-06-11 14:49:50 -04:00
Matthew Bauer
1b46c4b2a4 click: fix locale in darwin
unixtools.locale is used
2018-06-11 14:47:48 -04:00
Matthew Justin Bauer
55282f339b
unix-tools: add glibc 2018-06-11 11:19:31 -04:00
Matthew Bauer
ae6a4a913c fix eval 2018-05-31 13:17:07 -04:00
Matthew Bauer
e99322507e treewide: get rid of musl stuff 2018-05-31 12:36:45 -04:00
Matthew Justin Bauer
98f2f08b4b
Merge pull request #41009 from matthewbauer/normalize-names
Add versions to packages missing it
2018-05-25 16:32:48 -05:00
Matthew Bauer
02de1dc707 unix-tools: add version
Uses the POSIX standard 1003.1-2008 as version number. It can be
accessed for free at http://pubs.opengroup.org/onlinepubs/9699919799/.
2018-05-25 15:48:25 -05:00
Matthew Justin Bauer
882e08ced1
unixtools: fixup bad merge
This should hopefully fix the eval issue.
2018-05-08 15:37:10 -05:00
Matthew Bauer
6748534d83 Merge remote-tracking branch 'upstream/master' into staging 2018-05-08 09:36:00 -05:00
Patrick Hilhorst
ab0d4f26ff
unixtools: use 2-space indent 2018-05-07 20:16:58 +02:00
Patrick Hilhorst
4b93f21ced
unixtools: refactor for less redundancy 2018-05-07 20:13:55 +02:00
Matthew Bauer
9395d05b65 unix-tools: install man pages 2018-05-01 09:52:17 -05:00
Tuomas Tynkkynen
16b45ec3da Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	pkgs/applications/version-management/git-and-tools/git/default.nix
	pkgs/top-level/all-packages.nix
	pkgs/top-level/unix-tools.nix
2018-04-16 21:13:30 +03:00
Matthew Bauer
9673ac562c unixtools: add col to utillinux 2018-04-15 22:54:19 -05:00
Matthew Justin Bauer
293e18d9c4
unixtools: fixup hexdump issue
utillinux puts everything in ".bin" output. We need to use lib.getBin to get it correctly.
2018-04-13 11:10:36 -05:00
Matthew Bauer
f1fb3651d8 quota: get from unixtools 2018-04-13 10:47:55 -05:00
Matthew Bauer
47fdc26c26 unixtools: quota is not in utillinux 2018-04-13 10:41:16 -05:00
Matthew Bauer
8287ba10fc unix-tools: cleanup things
- Adds ifconfig to nettools
- Adds top to procps
- Adds fsck, fdisk, mount, umount, quota to utillinux
2018-04-12 18:36:21 -05:00
Matthew Bauer
1914ef6040 unixtools: add mount, umount for darwin 2018-04-12 17:17:26 -05:00
Matthew Bauer
6398791733 unixtools: get rid of modprobe
modprobe only exists in Linux kernel. Just use kmod if it's needed.
2018-04-12 14:32:11 -05:00
Piotr Bogdan
0b9ca7875a unixtools.modprobe: fix 2018-04-12 17:03:02 +01:00
Jan Tojnar
fc3a467b22
Merge remote-tracking branch 'upstream/master' into staging 2018-04-12 01:50:17 +02:00
Matthew Justin Bauer
b1fa009aa2
unix-tools: fixup hexdump
hexdump needs utillinux
2018-04-11 14:50:27 -05:00
Matthew Justin Bauer
27dd872227
unix-tools: fixup 2018-04-11 12:46:53 -05:00
Matthew Bauer
50bdc5a612 unix-tools: fix typo 2018-04-10 21:18:42 -05:00
Matthew Bauer
70c378891e unix-tools: copy instead of linking
This prevents big closures from getting pulled in.
2018-04-10 18:55:25 -05:00
Matthew Bauer
f94c9c5459 unix-tools: provide getconf and getent 2018-04-10 18:53:33 -05:00
John Ericson
52f4be2c1f unixtools: Utilize meta.platforms 2018-03-27 20:26:10 -04:00
Matthew Bauer
49455d7bae treewide: replace utillinux refs of {u,}mount
umount and mount are now provided top-level
2018-03-27 18:17:46 -05:00
Matthew Bauer
11f0e07d4f unixtools: replace darwin.ps 2018-03-27 18:17:46 -05:00
Matthew Bauer
4a9fddc598 unixtools: cleanup 2018-03-27 18:17:45 -05:00
Matthew Bauer
ce8ce600ae unix-tools: introduce unix-tools.nix
unix-tools.nix has a collection of tools that are commonly installed
by default in Unix derivatives. This is intended to provide
compatibility between macOS and Linux users. Three Linux-only
derivations are provided for compatbility:

- procps
- utillinux
- nettools

More tools are also provided.

Also: treewide: use unixtools

Non-comprehensive replace of Linux-only procps and util-linux with
'unixtools'.
2018-03-26 17:40:55 -05:00