diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-04-27 16:56:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 16:56:35 +0200 |
commit | e650789e6e0211e5014e40c2bfb043159b67ccd4 (patch) | |
tree | 16996243b6aef4494ec8f35168971deea988a4a1 /pkgs/applications/graphics | |
parent | 37eeaeb8bf70cf61071a0a5846e9c0e8f096b54e (diff) | |
parent | f6999e0cc5d3b5b970bfa2fdc52e9c9fbcde2091 (diff) |
Merge pull request #169510 from reckenrode/darwin-sane
sane-backends: fix build on Darwin
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r-- | pkgs/applications/graphics/sane/backends/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix index 93a7d75ce45a5..d3c5b1c0b75f2 100644 --- a/pkgs/applications/graphics/sane/backends/default.nix +++ b/pkgs/applications/graphics/sane/backends/default.nix @@ -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; }; } |