Merge #309805: util-linux: 2.39.3 -> 2.40.1

...into staging

+6 -4
+6 -4
pkgs/os-specific/linux/util-linux/default.nix
··· 2 , capabilitiesSupport ? stdenv.isLinux 3 , libcap_ng 4 , libxcrypt 5 , ncursesSupport ? true 6 , ncurses 7 , pamSupport ? true ··· 20 21 stdenv.mkDerivation rec { 22 pname = "util-linux" + lib.optionalString (!nlsSupport && !ncursesSupport && !systemdSupport) "-minimal"; 23 - version = "2.39.3"; 24 25 src = fetchurl { 26 url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/util-linux-${version}.tar.xz"; 27 - hash = "sha256-e2YF5I0aSfQ8xLTPxZ8xPQ3VQC+kC5aBC9Vy4Wff7Q8="; 28 }; 29 30 patches = [ ··· 40 separateDebugInfo = true; 41 42 postPatch = '' 43 - patchShebangs tests/run.sh 44 45 substituteInPlace sys-utils/eject.c \ 46 --replace "/bin/umount" "$bin/bin/umount" ··· 59 "--enable-fs-paths-default=/run/wrappers/bin:/run/current-system/sw/bin:/sbin" 60 "--disable-makeinstall-setuid" "--disable-makeinstall-chown" 61 "--disable-su" # provided by shadow 62 (lib.enableFeature writeSupport "write") 63 (lib.enableFeature nlsSupport "nls") 64 (lib.withFeature ncursesSupport "ncursesw") ··· 80 nativeBuildInputs = [ pkg-config installShellFiles ] 81 ++ lib.optionals translateManpages [ po4a ]; 82 83 - buildInputs = [ zlib libxcrypt ] 84 ++ lib.optionals pamSupport [ pam ] 85 ++ lib.optionals capabilitiesSupport [ libcap_ng ] 86 ++ lib.optionals ncursesSupport [ ncurses ]
··· 2 , capabilitiesSupport ? stdenv.isLinux 3 , libcap_ng 4 , libxcrypt 5 + , sqlite 6 , ncursesSupport ? true 7 , ncurses 8 , pamSupport ? true ··· 21 22 stdenv.mkDerivation rec { 23 pname = "util-linux" + lib.optionalString (!nlsSupport && !ncursesSupport && !systemdSupport) "-minimal"; 24 + version = "2.40.1"; 25 26 src = fetchurl { 27 url = "mirror://kernel/linux/utils/util-linux/v${lib.versions.majorMinor version}/util-linux-${version}.tar.xz"; 28 + hash = "sha256-WeZ2qlPMtEtsOfD/4BqPonSJHJG+8UdHUvrZJGHe8k8="; 29 }; 30 31 patches = [ ··· 41 separateDebugInfo = true; 42 43 postPatch = '' 44 + patchShebangs tests/run.sh tools/all_syscalls 45 46 substituteInPlace sys-utils/eject.c \ 47 --replace "/bin/umount" "$bin/bin/umount" ··· 60 "--enable-fs-paths-default=/run/wrappers/bin:/run/current-system/sw/bin:/sbin" 61 "--disable-makeinstall-setuid" "--disable-makeinstall-chown" 62 "--disable-su" # provided by shadow 63 + "--with-tmpfilesdir=${placeholder "out"}/lib/tmpfiles.d" 64 (lib.enableFeature writeSupport "write") 65 (lib.enableFeature nlsSupport "nls") 66 (lib.withFeature ncursesSupport "ncursesw") ··· 82 nativeBuildInputs = [ pkg-config installShellFiles ] 83 ++ lib.optionals translateManpages [ po4a ]; 84 85 + buildInputs = [ zlib libxcrypt sqlite ] 86 ++ lib.optionals pamSupport [ pam ] 87 ++ lib.optionals capabilitiesSupport [ libcap_ng ] 88 ++ lib.optionals ncursesSupport [ ncurses ]