From f9c5b550c2ff7116bb39783f34820754a11c016b Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 8 Apr 2023 12:00:00 +0000 Subject: [PATCH] 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 --- pkgs/applications/graphics/sane/backends/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix index 5571585e32d9..1dc46e1b5ebe 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 = ''