sane-backends: fix build on Darwin

This commit is contained in:
Randy Eckenrode 2022-03-27 18:07:48 -04:00
parent 93e835bd92
commit f6999e0cc5
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -40,18 +40,19 @@ stdenv.mkDerivation {
buildInputs = [ buildInputs = [
avahi avahi
libgphoto2 libgphoto2
libieee1284
libjpeg libjpeg
libpng libpng
libtiff libtiff
libusb1 libusb1
libv4l
net-snmp
curl curl
systemd
libxml2 libxml2
poppler poppler
gawk gawk
] ++ lib.optionals stdenv.isLinux [
libieee1284
libv4l
net-snmp
systemd
]; ];
enableParallelBuilding = true; enableParallelBuilding = true;
@ -113,6 +114,6 @@ stdenv.mkDerivation {
''; '';
homepage = "http://www.sane-project.org/"; homepage = "http://www.sane-project.org/";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
}; };
} }