Merge pull request #112883 from alyssais/weechat-matrix

weechatScripts.weechat-matrix: make patchable

authored by Sandro and committed by GitHub 86da4934 0a5f5bab

+5 -5
+5 -5
pkgs/applications/networking/irc/weechat/scripts/weechat-matrix/default.nix
··· 53 53 54 54 installPhase = '' 55 55 mkdir -p $out/share $out/bin 56 - cp $src/main.py $out/share/matrix.py 56 + cp main.py $out/share/matrix.py 57 57 58 - cp $src/contrib/matrix_upload.py $out/bin/matrix_upload 59 - cp $src/contrib/matrix_decrypt.py $out/bin/matrix_decrypt 60 - cp $src/contrib/matrix_sso_helper.py $out/bin/matrix_sso_helper 58 + cp contrib/matrix_upload.py $out/bin/matrix_upload 59 + cp contrib/matrix_decrypt.py $out/bin/matrix_decrypt 60 + cp contrib/matrix_sso_helper.py $out/bin/matrix_sso_helper 61 61 substituteInPlace $out/bin/matrix_upload \ 62 62 --replace '/usr/bin/env -S python3' '${scriptPython}/bin/python' 63 63 substituteInPlace $out/bin/matrix_sso_helper \ ··· 66 66 --replace '/usr/bin/env python3' '${scriptPython}/bin/python' 67 67 68 68 mkdir -p $out/${python.sitePackages} 69 - cp -r $src/matrix $out/${python.sitePackages}/matrix 69 + cp -r matrix $out/${python.sitePackages}/matrix 70 70 ''; 71 71 72 72 dontPatchShebangs = true;