88 Commits

Author SHA1 Message Date
nixpkgs-ci[bot] 23ee7d594c Merge master into staging-next 2026-03-14 00:21:49 +00:00
Alexander Bantyev 2839911e81 various: add security-review team as a maintainer
Adds the @NixOS/security-review team as a maintainer to multiple
packages deemed to be important security-wise.

For the motivation of the package list, see:
https://github.com/NixOS/nixpkgs/issues/494349#issuecomment-4005099033
2026-03-05 15:19:44 +01:00
Stefan Frijters c4bdbc9f1b findutils: move CFLAGS into env for structuredAttrs 2026-02-19 19:41:03 +01:00
Alexander Bantyev 22ca96f3a9 various: add meta.identifier.cpeParts to a batch of packages
Co-Authored-By: Silvan Mosberger <silvan.mosberger@tweag.io>
2026-02-16 17:11:52 +01:00
OPNA2608 792a15b14b findutils: Fix gnulib test failure on ppc64 2026-01-02 16:31:07 +01:00
Michael Daniels 677996dccd Revert "findutils: set passthru.updateScript"
This reverts commit 5b3ef25fdc.

Does not eval when run.
2025-12-30 08:35:49 -05:00
Michael Daniels b1c4b7e167 findutils: use finalAttrs 2025-12-26 20:17:55 -05:00
Michael Daniels 2644aeacaa findutils: adopt 2025-12-26 20:17:55 -05:00
Michael Daniels 5b3ef25fdc findutils: set passthru.updateScript 2025-12-26 20:17:55 -05: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
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Peder Bergebakken Sundt 3a83109945 treewide: change ${pname} to string literal, pt2 (#336195)
* aescrypt: change `${pname}` to string literal

* bandwidth: change `${pname}` to string literal

* bc: change `${pname}` to string literal

* bdfresize: change `${pname}` to string literal

* birdfont: change `${pname}` to string literal

* brltty: change `${pname}` to string literal

* calamares: change `${pname}` to string literal

* ccal: change `${pname}` to string literal

* clac: change `${pname}` to string literal

* colord-gtk4: change `${pname}` to string literal

* colord: change `${pname}` to string literal

* colorless: change `${pname}` to string literal

* cunit: change `${pname}` to string literal

* datamash: change `${pname}` to string literal

* dateutils: change `${pname}` to string literal

* desktop-file-utils: change `${pname}` to string literal

* digitemp: change `${pname}` to string literal

* ding-libs: change `${pname}` to string literal

* docbook2mdoc: change `${pname}` to string literal

* dtach: change `${pname}` to string literal

* empty: change `${pname}` to string literal

* entr: change `${pname}` to string literal

* envsubst: change `${pname}` to string literal

* ethtool: change `${pname}` to string literal

* fdtools: change `${pname}` to string literal

* filebench: change `${pname}` to string literal

* findutils: change `${pname}` to string literal

* fortune: change `${pname}` to string literal

* fpart: change `${pname}` to string literal

* fxlinuxprintutil: change `${pname}` to string literal

* gbdfed: change `${pname}` to string literal

* getopt: change `${pname}` to string literal

* github-copilot-cli: change `${pname}` to string literal

* gparted: change `${pname}` to string literal

* hddtemp: change `${pname}` to string literal

* hdfview: change `${pname}` to string literal

* hpcg: change `${pname}` to string literal

* hpl: change `${pname}` to string literal

* ink: change `${pname}` to string literal

* ised: change `${pname}` to string literal

* isoimagewriter: change `${pname}` to string literal

* kronometer: change `${pname}` to string literal

* libsForQt5.qt5ct: change `${pname}` to string literal

* lilo: change `${pname}` to string literal

* lockfileProgs: change `${pname}` to string literal

* map-cmd: change `${pname}` to string literal

* mcrypt: change `${pname}` to string literal

* most: change `${pname}` to string literal

* mrtg: change `${pname}` to string literal

* ms-sys: change `${pname}` to string literal

* multitime: change `${pname}` to string literal

* nbench: change `${pname}` to string literal

* osinfo-db-tools: change `${pname}` to string literal

* parallel-full: change `${pname}` to string literal

* phoronix-test-suite: change `${pname}` to string literal

* pod2mdoc: change `${pname}` to string literal

* powerline-rs: change `${pname}` to string literal

* recoverjpeg: change `${pname}` to string literal

* recutils: change `${pname}` to string literal

* routino: change `${pname}` to string literal

* rpm-ostree: change `${pname}` to string literal

* screen: change `${pname}` to string literal

* sharedown: change `${pname}` to string literal

* statserial: change `${pname}` to string literal

* taoup: change `${pname}` to string literal

* texi2mdoc: change `${pname}` to string literal

* tmpwatch: change `${pname}` to string literal

* toilet: change `${pname}` to string literal

* triehash: change `${pname}` to string literal

* ttfautohint: change `${pname}` to string literal

* txt2man: change `${pname}` to string literal

* urjtag: change `${pname}` to string literal

* uudeview: change `${pname}` to string literal

* uutils-coreutils: change `${pname}` to string literal

* vttest: change `${pname}` to string literal

* wacomtablet: change `${pname}` to string literal

* xcd: change `${pname}` to string literal

* xdaliclock: change `${pname}` to string literal

* xjobs: change `${pname}` to string literal

* feishin: change `${pname}` to string literal

* gifsicle: change `${pname}` to string literal

* nzbhydra2: change `${pname}` to string literal

* vatprism: change `${pname}` to string literal

* webfs: change `${pname}` to string literal

* yggstack: change `${pname}` to string literal
2024-08-20 17:23:37 -07:00
Vladimír Čunát 2ae2c76820 Merge #316547: findutils: 4.9.0 -> 4.10.0
...into staging
2024-06-24 10:11:06 +02:00
R. Ryantm 9bc39f4df5 findutils: 4.9.0 -> 4.10.0 2024-06-02 00:58:04 +00: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
Audrey Dutcher bd5f19d0c1 findutils: Fix build on native FreeBSD 2024-05-15 11:05:40 +02:00
Jonas Chevalier 06b79e335a findutils: set the meta.mainProgram (#250746) 2023-08-23 11:19:41 +02:00
Jean-Paul Calderone 559ae3789a findutils: Fix the build on Android by disabling hardening
This fixes many instances of:

```
error: use of undeclared identifier '__USE_FORTIFY_LEVEL'
```
2022-11-22 18:42:58 +01:00
Artturin c3c0444949 findutils: move {locate,updatedb} to a separate $locate output
https://github.com/NixOS/nixpkgs/issues/53925
2022-03-26 21:55:19 +02:00
Maximilian Bosch 49028fb110 findutils: fix build w/glibc-2.34
This "-D__nonnull\\(params\\)=" leads to a compilation failure in e.g.
the configure phase:

    configure:21131: gcc -c -D__nonnull\(params\)=  conftest.c >&5
    <command-line>: warning: ISO C99 requires whitespace after the macro name
    <command-line>: error: stray '\' in program
    <command-line>: error: expected ',' or ';' before '(' token
    <command-line>: error: stray '\' in program

According to the commit this isn't even needed on Linux.

I confirmed that this is an (expectable) glibc-2.34 thing by checking
that

* the issue doesn't occur with gcc 10/11 on a recent glibc-2.33 staging.
* the issue DOES occur in a docker container with Fedora rawhide (which
  has glibc 2.34 and gcc 11).
2022-02-27 10:25:34 +01:00
Lancelot SIX c4232bf2b7 findutils: 4.8.0 -> 4.9.0
See https://mail.gnu.org/archive/html/info-gnu/2022-02/msg00003.html for
release information.
2022-02-05 11:47:20 +00:00
Ben Wolsieffer a7dbb32253 findutils: remove upstreamed patch
The patch for 32-bit ARM was included in 4.8.0, and therefore needs to be
removed.
2021-07-31 18:25:53 -04:00
midchildan c85ce73a2c findutils: fix darwin build 2021-03-12 17:14:56 +00:00
midchildan 5f49a8dfe8 Revert "Revert "findutils: 4.7.0 -> 4.8.0""
This reverts commit 4acf7fd6bc.
2021-03-12 17:14:56 +00:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Ben Wolsieffer 0f5235b688 findutils: fix build on 32-bit ARM
Add an upstream patch to fix failing tests. The patch actually affects gnulib,
which is included as a vendored dependency.
2020-11-15 17:17:31 -05: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
Travis A. Everett e0ac44ef45 findutils: fix undeclared xargs dep on echo
When invoked without a command parameter, xargs runs echo from PATH.
This change patches xargs to use a specific Nix-built echo.
2020-06-14 08:55:24 +02:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Lancelot SIX 6e4e0cf44d findutils: 4.6.0 -> 4.7.0 (#67753)
See https://lists.gnu.org/archive/html/info-gnu/2019-08/msg00009.html
for release information
2019-08-31 23:03:04 -04: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
Jörg Thalheim 56b95ba437 findutils: specify on which kernel version the test fail 2018-09-15 19:43:11 +01:00
Dmitry Kalinkin ef04b4f283 findutils: disable a bogus test 2018-09-14 15:53:50 -04: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
volth 6d2857a311 [bot] treewide: remove unused 'inherit' in let blocks 2018-07-20 19:38:19 +00:00
Will Dietz 8ad9400a6c findutils: disable tests w/musl 2018-02-13 09:44:41 -06:00
John Ericson 220e3817b8 findutils: Manually specify sort's location
Run-time deps aren't necessarily on the PATH, so we cannot rely on
configure finding it.

N.B. on cross `-z` support is assumed missing, which is an incorrect
assumption.
2017-08-16 11:26:18 -04:00
Ross MacLeod d710c2d943 findutils: modernize and fix cross 2017-06-22 17:53:54 -04:00
Vladimír Čunát a1919db7cd Merge branch 'master' into staging 2017-02-27 20:15:27 +01:00
Tuomas Tynkkynen 78d9414ce5 findutils: Fix cross compilation
Yes, setting crossAttrs.propagatedBuildInputs is the correct value to
set to override a buildInputs from the native drv!
2017-02-27 00:15:53 +02:00
Vladimír Čunát f157956266 findutils: add the forgotten file (I'm sorry)
/cc #23152.
2017-02-26 09:44:27 +01:00
Vladimír Čunát 2f726fed9f findutils: fixup sandboxed build after #23152 2017-02-26 09:26:22 +01:00
Mogria 417dbaf6a3 findutils: updatedb now uses writable database outside of /nix/store by default
updatedb could only be run by providing the --output parameter,
because it would use a path inside the nix store as it's database.
The default for --output is now /var/cache/locatedb (the same
as in the NixOS locate service)
2017-02-24 16:36:58 +01:00
Vladimír Čunát 09d02f72f6 Re-revert "Merge: glibc: 2.24 -> 2.25"
This reverts commit 55cc7700e9.
I hope most problems have been solved.  /cc #22874.
2017-02-20 21:16:41 +01:00
Vladimír Čunát 524de86db0 findutils: plug a memory leak (close #22857)
Using the upstream patch directly.  It's copied in nixpkgs, because:
 - fetchpatch isn't usable at this point in bootstrapping,
 - the upstream patch creates collisions in NEWS.
2017-02-16 19:16:51 +01:00
Vladimír Čunát 55cc7700e9 Revert "Merge: glibc: 2.24 -> 2.25"
This reverts commit 1daf2e26d2, reversing
changes made to c0c50dfcb7.

It seems this is what has been causing all the reliability problems
on Hydra.  I'm currently unable to find why it happens, so I'm forced
to revert the update for now.  Discussion: #22874.
2017-02-16 18:16:06 +01:00
Vladimír Čunát 5ed010f50b findutils: disable tests on i686-linux
They won't work since glibc-2.25, and I don't like to spend more time on that.
2017-02-13 22:10:50 +01:00
Vladimír Čunát ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Eelco Dolstra e9b408936c findutils: Disable tests on Darwin
The strftime test fails with:

NZST-12NZDT,M9.5.0,M4.1.0/3: expected "1970-01-01 13:00:00 +1300 (NZDT)", got "1970-01-01 12:00:00 +1200 (NZST)"

The source in fact marks this test as "ahistorical", so the result on
Darwin might not be incorrect.

http://hydra.nixos.org/build/32578562/nixlog/1/raw
2016-03-01 16:14:58 +01:00
Eelco Dolstra 015c7afffa findutils: 4.4.2 -> 4.6.0
The first findutils update in six years! Changes:

https://lists.gnu.org/archive/html/info-gnu/2015-12/msg00014.html
2016-02-27 23:18:50 +01:00