Commit graph

17 commits

Author SHA1 Message Date
John Ericson
1c6586455c treewide: Leverage new top-level libc in bootstrap, and simplify
Picking up where #414321 left off, we can now simplify some things by
using `pkgs.libc` or `targetPackages.libc` consistently.

Individual packages should probably continue using `stdenv.cc.libc`, for
now at least, since it is possible they are given a `stdenv.cc` with an
alternative libc, but for the treewide code, the top-level `libc`
package is preferable and easier to work with.

Co-authored-by: Tristan Ross <rosscomputerguy@protonmail.com>
2025-06-06 16:01:19 -04:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
matthewcroughan
1100820978 unixtools: hexdump util-linux -> util-linuxMinimal
Linux depends on util-linux, and util-linux depends on systemd, which means when systemd is changed linux is rebuilt unnecessarily, this fixes this.
2025-03-05 19:49:49 +00:00
K900
0fd5f209c1 Merge remote-tracking branch 'origin/master' into staging-next 2025-01-17 11:30:03 +03:00
Artemis Tosini
0b2aafdd11 unixtools: Add some values for OpenBSD 2025-01-06 23:47:53 -08:00
Artemis Tosini
6560f2359d openbsd.getent: init, set as default on OpenBSD 2025-01-06 22:20:27 -08:00
Colin
ec2b988672 unixtools: fix subpackages to include ALL relevant manpages
some tools have man sections other than `1`, which the previous logic
would omit. for example, `man 8 sysctl` was previously not linked into
the `unixtools.sysctl` package but now is.
2024-12-04 23:04:23 +00:00
Philip Taron
7118909e82
unixtools: use tinyxxd to serve up xxd 2024-08-30 08:23:09 -07:00
Travis A. Everett
8f413d8a44 binlore: migrate override lore to package passthru
Lore overrides have been included with binlore's source up to now, but
this hasn't worked very well. (It isn't as easy to self-service for
people working in nixpkgs, and its use of partial pnames for matching
breaks down around some edge cases like version numbers appearing
early in perl pnames, or multiple packages having identical pnames.)
2024-07-04 11:15:05 -05:00
Audrey Dutcher
9cc583b9d1 unixtools: Add entries for FreeBSD 2024-05-18 09:04:37 +02:00
Philip Taron
11bf7021af
Avoid with lib; at the top level in pkgs/top-level/unixtools.nix 2024-03-08 14:44:57 -08:00
Sandro Jäckel
e05a981d05
xxd: reduce closure size by splitting it into it's own output 2024-01-09 22:29:32 +01:00
Linus Heckemann
4d649f2b63 glibc: split getent into its own output
Many dependents only require getent and not all the locale generation
tools that are included in the `bin` output. This can save some
closure size!
2023-06-12 10:26:52 +02:00
Weijia Wang
92cab8e597 column, locale: don't import from netbsd on darwin 2023-05-16 22:51:02 +03:00
Michael Hoang
66994da558 unixtools: Fix nix run nixpkgs#unixtools.<cmd> 2022-03-27 14:55:17 +11:00
Monson Shao
5bfd6d4491
unixtools: use real provider name instead of inaccurate version
The version "1003.1-2008" comes from IEEE Std but is not quite accurate.
Using the provider name could give us more info in store path.
2021-01-17 13:11:31 +08:00
Jörg Thalheim
124655ed49
unixtools: align attribute name with filename
(so they can be easier matched)
2021-01-14 09:00:15 +01:00
Renamed from pkgs/top-level/unix-tools.nix (Browse further)