diff options
| author | Michele Guerini Rocco <rnhmjoj@users.noreply.github.com> | 2021-06-20 00:37:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-20 00:37:56 +0200 |
| commit | 031e1105f221419c597ae806776c7aeb8e754c85 (patch) | |
| tree | 7da5c148e1c7b9fd5357bf0b84d241b39f752b3a | |
| parent | pythonPackages.impacket: 0.9.22 -> 0.9.23 (diff) | |
| parent | searx: patch to fix a crash (diff) | |
| download | nixpkgs-031e1105f221419c597ae806776c7aeb8e754c85.tar.gz | |
Merge pull request #127507 from NixOS/backport-127368-to-release-21.05
[Backport release-21.05] searx: patch to fix a crash
| -rw-r--r-- | pkgs/servers/web-apps/searx/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/servers/web-apps/searx/default.nix b/pkgs/servers/web-apps/searx/default.nix index 43fb374fe117..3ba6f3270425 100644 --- a/pkgs/servers/web-apps/searx/default.nix +++ b/pkgs/servers/web-apps/searx/default.nix @@ -1,4 +1,4 @@ -{ lib, nixosTests, python3, python3Packages, fetchFromGitHub }: +{ lib, nixosTests, python3, python3Packages, fetchFromGitHub, fetchpatch }: with python3Packages; @@ -14,6 +14,14 @@ toPythonModule (buildPythonApplication rec { sha256 = "0ghkx8g8jnh8yd46p4mlbjn2zm12nx27v7qflr4c8xhlgi0px0mh"; }; + patches = [ + # Fix a crash, remove with the next update + (fetchpatch { + url = "https://github.com/searx/searx/commit/9c10b150963babb7f0b52081693a42b2e61eede9.patch"; + sha256 = "0svp8799628wja2hq59da6rxqi99am8p6hb8y27ciwzsjz0wwba7"; + }) + ]; + postPatch = '' sed -i 's/==.*$//' requirements.txt ''; |
