summary refs log tree commit diff
path: root/pkgs/applications/graphics/sane
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2023-04-08 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2023-04-10 12:00:00 +0000
commitf9c5b550c2ff7116bb39783f34820754a11c016b (patch)
tree76f9c8cd5b402c770891b678083ae703959f4089 /pkgs/applications/graphics/sane
parent0e19daa510e47a40e06257e205965f3b96ce0ac9 (diff)
downloadnixpkgs-f9c5b550c2ff7116bb39783f34820754a11c016b.tar
nixpkgs-f9c5b550c2ff7116bb39783f34820754a11c016b.tar.gz
nixpkgs-f9c5b550c2ff7116bb39783f34820754a11c016b.tar.bz2
nixpkgs-f9c5b550c2ff7116bb39783f34820754a11c016b.tar.lz
nixpkgs-f9c5b550c2ff7116bb39783f34820754a11c016b.tar.xz
nixpkgs-f9c5b550c2ff7116bb39783f34820754a11c016b.tar.zst
nixpkgs-f9c5b550c2ff7116bb39783f34820754a11c016b.zip
sane_backends: disable parallel install
parallel install creates a bad symlink at $out/lib/sane/libsane.so.1
which prevents finding plugins.

Fixes https://github.com/NixOS/nixpkgs/issues/224569
Diffstat (limited to 'pkgs/applications/graphics/sane')
-rw-r--r--pkgs/applications/graphics/sane/backends/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix
index 5571585e32d..1dc46e1b5eb 100644
--- a/pkgs/applications/graphics/sane/backends/default.nix
+++ b/pkgs/applications/graphics/sane/backends/default.nix
@@ -128,6 +128,10 @@ stdenv.mkDerivation {
   ''
   + lib.concatStrings (builtins.map installFirmware compatFirmware);
 
+  # parallel install creates a bad symlink at $out/lib/sane/libsane.so.1 which prevents finding plugins
+  # https://github.com/NixOS/nixpkgs/issues/224569
+  enableParallelInstalling = false;
+
   meta = with lib; {
     description = "SANE (Scanner Access Now Easy) backends";
     longDescription = ''