diff --git a/pkgs/by-name/on/onedrive/package.nix b/pkgs/by-name/on/onedrive/package.nix index 55857333e65ef4..3e4a572599913a 100644 --- a/pkgs/by-name/on/onedrive/package.nix +++ b/pkgs/by-name/on/onedrive/package.nix @@ -3,6 +3,7 @@ autoreconfHook, curl, fetchFromGitHub, + fetchpatch, installShellFiles, ldc, libnotify, @@ -17,7 +18,7 @@ stdenv.mkDerivation (finalAttrs: { pname = "onedrive"; - version = "2.5.3"; + version = "2.5.3-1"; src = fetchFromGitHub { owner = "abraunegg"; @@ -26,6 +27,15 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-Lek1tW0alQQvlOHpz//M/y4iJY3PWRkcmXGLwjCLozk="; }; + patches = [ + # remove when updating to v2.5.4 + (fetchpatch { + name = "fix-openssl-version-check-error.patch"; + url = "https://patch-diff.githubusercontent.com/raw/abraunegg/onedrive/pull/2981.patch"; + hash = "sha256-IMXCKYvdpk9Drb/bNDlVQl/hUhi1It0jQpFbT3qKzm0="; + }) + ]; + outputs = [ "out" "doc"