Merge pull request #169510 from reckenrode/darwin-sane
sane-backends: fix build on Darwin
This commit is contained in:
commit
e650789e6e
@ -40,18 +40,19 @@ stdenv.mkDerivation {
|
||||
buildInputs = [
|
||||
avahi
|
||||
libgphoto2
|
||||
libieee1284
|
||||
libjpeg
|
||||
libpng
|
||||
libtiff
|
||||
libusb1
|
||||
libv4l
|
||||
net-snmp
|
||||
curl
|
||||
systemd
|
||||
libxml2
|
||||
poppler
|
||||
gawk
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
libieee1284
|
||||
libv4l
|
||||
net-snmp
|
||||
systemd
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -113,6 +114,6 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
homepage = "http://www.sane-project.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user