diff --git a/pkgs/tools/package-management/checkinstall/default.nix b/pkgs/tools/package-management/checkinstall/default.nix index a2b9c11eb09..f3153100008 100644 --- a/pkgs/tools/package-management/checkinstall/default.nix +++ b/pkgs/tools/package-management/checkinstall/default.nix @@ -29,11 +29,12 @@ stdenv.mkDerivation { # Fix a `conflicting types for 'scandir'' error on Glibc 2.11. ./scandir.patch + ] + ++ stdenv.lib.optional (stdenv.system == "x86_64-linux") # Force use of old memcpy so that installwatch works on Glibc < # 2.14. - ./use-old-memcpy.patch - ]; + ./use-old-memcpy.patch; buildInputs = [gettext];