Commit Graph

59 Commits

Author SHA1 Message Date
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Vladimír Čunát 4b368ec103 diffutils: unconditionalize a patch 2025-10-07 09:39:14 +02:00
matthewcroughan 13afcb0edc diffutils: fix tests on pkgsMusl.pkgsLLVM 2025-09-28 14:21:02 +01:00
OPNA2608 9c17e44098 diffutils: Fix gnulib test failure on ppc64 2025-07-14 12:34:44 +02:00
Artemis Tosini 9f3746cb55 diffutils: disable atime-based test on FreeBSD
This atime-based test fails on some FreeBSD configurations
2025-05-28 16:43:51 -07:00
misuzu 04d6c15afe diffutils: fix cross
https://lists.gnu.org/archive/html/bug-diffutils/2025-04/msg00004.html
2025-04-27 13:43:15 +03:00
Emily 6c133b1632 diffutils: skip test-sigaction on x86_64-darwin
More Rosetta 2 issues. AArch32 can continue coming along for the ride,
I guess.
2025-04-23 02:59:44 +01:00
Emily 6a77457e9b diffutils: skip tests more robustly 2025-04-23 02:59:44 +01:00
Simon Hauser 1cced96c8d diffutils: 3.11 -> 3.12
changelog: https://savannah.gnu.org/news/?id=10749
2025-04-17 08:22:26 +02:00
Sergei Trofimovich 58f75e8b64 diffutils: 3.10 -> 3.11
Changes: https://lists.gnu.org/archive/html/info-gnu/2025-02/msg00003.html
2025-02-15 06:28:34 +00:00
Guillaume Girol 0970fc9675 Merge remote-tracking branch 'origin/nixos-unstable' into update-armv56_bootstrap_tools 2024-12-17 12:00:00 +00:00
Sebastian 7b9726f12c pkgs/tools/text/diffutils: Disabled test-c-stack2 test-sigsegv-catch-stackoverflow1 and 2 on Aarch32
Those tests fail on qemu making it impossible to build on other architectures
2024-12-16 12:28:41 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Audrey Dutcher 846de80d1c various: Enable updateAutotoolsGnuConfigScriptsHook
Prior to August 2023, any config.guess generated by autoconf will
include a hardcoded /usr/bin/uname invocation for FreeBSD on any
architecture other than arm. This clearly doesn't work under nix.
We must then update or otherwise patch each old config.guess.
2024-05-27 11:09:28 -04:00
Bit 1616ab211b diffutils: disable tests in diffutils on riscv64 2024-04-03 11:10:19 +02:00
Alyssa Ross 7554724a36 Revert "diffutils: disable tests on aarch64 musl"
This reverts commit 45584b3e5a.

These work fine now that we have an up-to-date bootstrap tarball for
this platform.
2024-01-25 21:29:35 +01:00
Alyssa Ross 45584b3e5a diffutils: disable tests on aarch64 musl
The tests have never worked on aarch64 musl, so this restores the
previous behaviour on that platform of building successfully even
though the tests don't pass.

Since the tests work on x86_64 musl, and not aarch64 musl, my best
guess having not looked too closely is that the difference is because
aarch64 is stuck on ancient bootstrap tools for musl that cause all
sorts of problems.  Hopefully we can revert this once the bootstrap
tools are updated.  Having diffutils building is a prerequisite to
doing that.

Fixes: 9588972fe9 ("diffutils: 3.9 -> 3.10")
2023-10-10 08:40:18 +00:00
Randy Eckenrode 597f83798d diffutils: disable hanging test on x86_64-darwin
The test-c-stack tests hang on x86_64-darwin when they are run under
Rosetta 2. Disabling these tests allows the rest of the tests to run
successfully on that platform.

This is a similar to the issue that affected gnugrep (NixOS#236229).
2023-07-03 17:46:52 -04:00
Janne Heß 9588972fe9 diffutils: 3.9 -> 3.10
Fixes the issue introduced in 3.9 and makes cmp and diff work past Y2K39
2023-05-21 23:33:11 +02:00
Sergei Trofimovich cdf6a42301 diffutils: 3.8 -> 3.9
Changes: https://savannah.gnu.org/forum/forum.php?forum_id=10282
2023-02-20 18:59:36 +00:00
Maximilian Bosch e85020566d diffutils: 3.7 -> 3.8
ChangeLog: https://fossies.org/linux/misc/diffutils-3.8.tar.xz/diffutils-3.8/ChangeLog

Will be needed to fix its build with glibc-2.34[1].

[1] https://github.com/NixOS/nixpkgs/pull/133431
2021-09-11 23:13:24 +02:00
Luflosi f28239c54a diffutils: name -> pname 2021-04-22 00:21:31 +00:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Matthew Bauer d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Will Dietz 219ca3c558 diffutils: 3.6 -> 3.7
https://savannah.gnu.org/forum/forum.php?forum_id=9341
2019-01-02 01:00:44 -06:00
c0bw3b 0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Markus Kowalewski 75e8dfeafa diffutils: add licenses 2018-08-16 21:46:53 +02:00
Ben Gamari 946c1b26fa diffutils: Enable cross-compilation 2017-12-29 17:18:59 -05:00
John Ericson 63428ebab9 diffutils: coreutils is a run-time dep; specify pr's location 2017-08-16 11:54:34 -04:00
Armijn Hemel bd500816f7 diffutils: 3.5 -> 3.6 2017-05-24 13:43:56 +02:00
Lancelot SIX 88949e6d13 diffutils: 3.3 -> 3.5
Releases announcements:
3.4: http://lists.gnu.org/archive/html/info-gnu/2016-08/msg00004.html
3.5: http://lists.gnu.org/archive/html/info-gnu/2016-08/msg00010.html
2016-08-21 14:33:29 +02:00
Shea Levy 9adad8612b Revert "Merge branch 'modprobe-fix' of git://github.com/abbradar/nixpkgs"
Was meant to go into staging, sorry

This reverts commit 57b2d1e9b0, reversing
changes made to 760b2b9048.
2016-08-15 19:05:52 -04:00
Lancelot SIX 8bff33a4ff diffutils: 3.3 -> 3.4
See http://lists.gnu.org/archive/html/info-gnu/2016-08/msg00004.html
for release announcement.
2016-08-10 14:54:49 +02:00
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Vladimír Čunát 030af0a803 fix .xz in stdenv bootstrap
Presumably needed due to the last staging merge.
There was some stdenv stage refactoring within, IIRC.
2014-08-30 15:48:17 +02:00
Vladimír Čunát a70180ba73 mutiout: make it builtin 2014-08-30 08:27:43 +02:00
Vladimír Čunát fb59f27a43 WIP: getting good 2014-08-27 01:14:09 +02:00
Vladimír Čunát f4ec2a3090 diffutils: minor stable update 3.2 -> 3.3 2013-06-30 08:58:51 +02:00
Eelco Dolstra ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra c138356805 Fix evaluation 2012-12-04 17:08:58 +01:00
Eelco Dolstra a893399776 Fix more gets() problems 2012-09-18 14:51:15 -04:00
Ludovic Courtès 9786a98261 tar, gzip, diffutils: Allow builds with newer versions of glibc.
This is a follow-up to 77fdc7bb35 ("GNU
Coreutils: Allow builds with newer versions of glibc.").
2012-07-01 01:14:56 +02:00
Ludovic Courtès 14a86cfa3b GNU diffutils 3.2.
svn path=/nixpkgs/branches/stdenv-updates/; revision=29590
2011-10-02 20:35:57 +00:00
Lluís Batlle i Rossell 47b45f812e Updating diffutils
svn path=/nixpkgs/branches/stdenv-updates/; revision=22942
2010-08-04 11:05:53 +00:00
Lluís Batlle i Rossell 19b9811012 Making a bunch of basic programs cross-buildable.
After this, the 'bootstrap-tools' can be cross-built.


svn path=/nixpkgs/branches/stdenv-updates/; revision=20945
2010-04-04 18:10:42 +00:00
Eelco Dolstra 8cd1b893cf * coreutils-6.10, findutils-4.2.32.
* Added some meta attributes.

svn path=/nixpkgs/branches/stdenv-updates/; revision=10511
2008-02-06 13:18:50 +00:00
Eelco Dolstra 544cb9cb83 * Rewrite all URLs to GNU mirrors to mirror://gnu/.
svn path=/nixpkgs/trunk/; revision=9201
2007-08-27 13:42:00 +00:00
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00