which: 2.21 -> 2.23 (#376906)

This commit is contained in:
Pol Dellaiera
2025-02-03 21:12:45 +01:00
committed by GitHub
+2 -9
View File
@@ -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";