From 86ba9f5a4e415d5437a2ddb5b346b69fb6d6d0a1 Mon Sep 17 00:00:00 2001 From: ccicnce113424 Date: Fri, 10 Apr 2026 19:08:40 +0800 Subject: [PATCH] ntfsprogs-plus: enable `strictDeps` and `__structuredAttrs` --- pkgs/by-name/nt/ntfsprogs-plus/package.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/nt/ntfsprogs-plus/package.nix b/pkgs/by-name/nt/ntfsprogs-plus/package.nix index 7d5282dd1a4f..e616ade324b7 100644 --- a/pkgs/by-name/nt/ntfsprogs-plus/package.nix +++ b/pkgs/by-name/nt/ntfsprogs-plus/package.nix @@ -30,17 +30,19 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ autoreconfHook pkg-config + # autoreconf will not succeed without libgcrypt, maybe due to leftover checks from ntfs-3g? + libgcrypt ]; # 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 - ] - ++ lib.optionals stdenv.hostPlatform.isLinux [ libuuid ] - ++ lib.optionals (!stdenv.hostPlatform.isGnu) [ gettext ]; + buildInputs = + lib.optionals stdenv.hostPlatform.isLinux [ libuuid ] + ++ lib.optionals (!stdenv.hostPlatform.isGnu) [ gettext ]; + + strictDeps = true; + __structuredAttrs = true; configureFlags = [ "--exec-prefix=\${prefix}" ];