weechatScripts.wee-slack: apply fix for wee-slack/wee-slack#930

Fixes #331131.
This commit is contained in:
Florian Klink 2024-08-05 18:40:59 +03:00
parent 6be7a53f32
commit fcf94be0b0

View File

@ -1,4 +1,4 @@
{ lib, stdenv, substituteAll, buildEnv, fetchFromGitHub, python3Packages }:
{ lib, stdenv, fetchpatch, substituteAll, buildEnv, fetchFromGitHub, python3Packages }:
stdenv.mkDerivation rec {
pname = "wee-slack";
@ -12,6 +12,12 @@ stdenv.mkDerivation rec {
};
patches = [
# Fix for https://github.com/wee-slack/wee-slack/issues/930
(fetchpatch {
url = "https://github.com/wee-slack/wee-slack/commit/e610b39aee2d9a49d080924d47d96c5d140f66ac.patch";
hash = "sha256-+yBZSx0LsoXmTmdN9d3VV2KNzpXfgfNVp4ZqfS4oKzg=";
})
(substituteAll {
src = ./libpath.patch;
env = "${buildEnv {