From 4a06ebaf70e87ff780c1d35dd91b90a4dbaa677f Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 26 Jan 2025 07:26:34 +0000 Subject: [PATCH] which: 2.21 -> 2.23 Dropped LARGEFILE support override as it was upstreamed as: https://git.savannah.gnu.org/cgit/which.git/commit/?id=ff99c8a2aa84237e4546078a2b62a7b2798cd53b Changes: - https://git.savannah.gnu.org/cgit/which.git/tree/NEWS?id=a5f8db60de0f5af76b8ef358ce1a5e55b8556e4e - https://git.savannah.gnu.org/cgit/which.git/diff/NEWS?id=3e2c8f8acc3a333b66b06de234bc9324c6fe5500 --- pkgs/by-name/wh/which/package.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/wh/which/package.nix b/pkgs/by-name/wh/which/package.nix index ae9deecdec54..a739a54f474d 100644 --- a/pkgs/by-name/wh/which/package.nix +++ b/pkgs/by-name/wh/which/package.nix @@ -6,23 +6,16 @@ stdenv.mkDerivation rec { pname = "which"; - version = "2.21"; + version = "2.23"; src = fetchurl { url = "mirror://gnu/which/which-${version}.tar.gz"; - hash = "sha256-9KJFuUEks3fYtJZGv0IfkVXTaqdhS26/g3BdP/x26q0="; + hash = "sha256-osVYIm/E2eTOMxvS/Tw/F/lVEV0sAORHYYpO+ZeKKnM="; }; strictDeps = true; enableParallelBuilding = true; - env.NIX_CFLAGS_COMPILE = toString ( - # Enable 64-bit file API. Otherwise `which` fails to find tools - # on filesystems with 64-bit inodes (like `btrfs`) when running - # binaries from 32-bit systems (like `i686-linux`). - lib.optional stdenv.hostPlatform.is32bit "-D_FILE_OFFSET_BITS=64" - ); - meta = { homepage = "https://www.gnu.org/software/which/"; description = "Shows the full path of (shell) commands";