Merge pull request #256144 from SuperSandro2000/smartmontools-update-bin

smartmontools: build without update-smart-drivedb
This commit is contained in:
Peder Bergebakken Sundt 2024-01-10 19:59:38 +01:00 committed by GitHub
commit 6ac5449359
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];