From d524daa097fa9c38b879435838ce357afd6b0186 Mon Sep 17 00:00:00 2001 From: ccicnce113424 Date: Mon, 8 Dec 2025 17:17:30 +0800 Subject: [PATCH] ntfsprogs-plus: correct build inputs --- pkgs/by-name/nt/ntfsprogs-plus/package.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/nt/ntfsprogs-plus/package.nix b/pkgs/by-name/nt/ntfsprogs-plus/package.nix index fe96e08882c4..7d5282dd1a4f 100644 --- a/pkgs/by-name/nt/ntfsprogs-plus/package.nix +++ b/pkgs/by-name/nt/ntfsprogs-plus/package.nix @@ -5,7 +5,7 @@ autoreconfHook, pkg-config, libgcrypt, - gnutls, + libuuid, gettext, gitUpdater, }: @@ -32,10 +32,14 @@ stdenv.mkDerivation (finalAttrs: { pkg-config ]; + # We don't need GnuTLS despite the configure warning about its absence, + # because ntfsdecrypt from ntfs-3g is not used in ntfsprogs-plus and is not built. + # See: https://github.com/search?q=repo%3Antfsprogs-plus%2Fntfsprogs-plus%20gnutls&type=code buildInputs = [ + # autoreconf will not succeed without libgcrypt, maybe due to leftover checks from ntfs-3g? libgcrypt - gnutls ] + ++ lib.optionals stdenv.hostPlatform.isLinux [ libuuid ] ++ lib.optionals (!stdenv.hostPlatform.isGnu) [ gettext ]; configureFlags = [ "--exec-prefix=\${prefix}" ];