-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
searx: fix werkzeug.contrib import #91356
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is the verbatim upstream patch you could also use fetchpatch
and have it grab https://github.com/asciimoo/searx/commit/ab1b1ac358089d446d409026ee2a51cead2179fd.patch.
Otherwise LGTM.
10a61dd
to
cbe65ca
Compare
@mweinelt using |
@@ -14,6 +14,11 @@ buildPythonApplication rec { | |||
sha256 = "0hfa4nmis98yvghxw866rzjpmhb2ln8l6l8g9yx4m79b2lk76xcs"; | |||
}; | |||
|
|||
patches = [(fetchpatch { | |||
url = "https://github.com/asciimoo/searx/commit/b8b13372c8fd3bfe978a1c724ab98b05348df054.patch"; | |||
sha256 = "0wrcywxihxiz1dka3mjbzprv8qznan0x4b0qjn0zfd8167pdwnk2"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note that fetchpatch is not compatible with hashes returned by nix-prefetch-url
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noted for the next time and fixed
cbe65ca
to
dec248b
Compare
Motivation for this change
Building searx failed with the following error message:
Things done
Applied the patch from upstream searx/searx#1831.
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)