findutils: set passthru.updateScript

This commit is contained in:
Michael Daniels
2025-12-25 17:48:45 -05:00
parent 7c63c1dc3a
commit 5b3ef25fdc
+6
View File
@@ -4,6 +4,7 @@
fetchurl,
updateAutotoolsGnuConfigScriptsHook,
coreutils,
directoryListingUpdater,
}:
# Note: this package is used for bootstrapping fetchurl, and thus
@@ -75,6 +76,11 @@ stdenv.mkDerivation rec {
# or you can check libc/include/sys/cdefs.h in bionic source code
hardeningDisable = lib.optional (stdenv.hostPlatform.libc == "bionic") "fortify";
passthru.updateScript = directoryListingUpdater {
inherit pname version;
url = "https://ftp.gnu.org/gnu/findutils/";
};
meta = {
homepage = "https://www.gnu.org/software/findutils/";
description = "GNU Find Utilities, the basic directory searching utilities of the GNU operating system";