Commit 86ba9f5a authored by ccicnce113424's avatar ccicnce113424
Browse files

ntfsprogs-plus: enable `strictDeps` and `__structuredAttrs`

parent edc8b550
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -30,18 +30,20 @@ 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 ]
  buildInputs =
    lib.optionals stdenv.hostPlatform.isLinux [ libuuid ]
    ++ lib.optionals (!stdenv.hostPlatform.isGnu) [ gettext ];

  strictDeps = true;
  __structuredAttrs = true;

  configureFlags = [ "--exec-prefix=\${prefix}" ];

  enableParallelBuilding = true;