smartmontools: build without update-smart-drivedb

This commit is contained in:
Sandro Jäckel 2023-09-19 17:48:46 +02:00
parent 0a617df61a
commit 0fb82b30ea
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -38,7 +38,11 @@ stdenv.mkDerivation rec {
cp -v ${driverdb} drivedb.h
'';
configureFlags = [ "--with-scriptpath=${scriptPath}" ];
configureFlags = [
"--with-scriptpath=${scriptPath}"
# does not work on NixOS
"--without-update-smart-drivedb"
];
nativeBuildInputs = [ autoreconfHook ];
buildInputs = lib.optionals stdenv.isDarwin [ IOKit ApplicationServices ];