overlays,sway: use .patch file from github PR
This commit is contained in:
parent
edfcd11811
commit
c3c7abb669
1 changed files with 4 additions and 17 deletions
|
@ -7,24 +7,11 @@
|
||||||
{
|
{
|
||||||
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
||||||
# Add input panel to sway
|
# Add input panel to sway
|
||||||
# .patch file from some random guy's dotfile repo
|
# .patch file from https://github.com/swaywm/sway/pull/7226
|
||||||
patches = (old.patches or []) ++ [
|
patches = (old.patches or []) ++ [
|
||||||
# attempt #1, didnt work
|
(prev.fetchurl {
|
||||||
#(prev.fetchpatch {
|
url = "https://github.com/swaywm/sway/commit/d1c6e44886d1047b3aa6ff6aaac383eadd72f36a.patch";
|
||||||
# url = "https://aur.archlinux.org/cgit/aur.git/plain/7226.patch?h=sway-im-git";
|
sha256 = "sha256-UnNnAgXVBPjhF7ytVpGEStbJK1RQuRIci5PgGEvLp80=";
|
||||||
# hash = "sha256-KPWsxDQ2Zkya6o+llQVRHeulecDPsZAJ2vyQNWZKAps=";
|
|
||||||
#})
|
|
||||||
|
|
||||||
# attempt #2, also didnt work
|
|
||||||
#(prev.fetchpatch {
|
|
||||||
# url = "https://aur.archlinux.org/cgit/aur.git/plain/0001-text_input-Implement-input-method-popups.patch?h=sway-im";
|
|
||||||
# hash = "sha256-xrBnQhtA6LgyW0e0wKwymlMvx/JfrjBidq1a3GFKzZo=";
|
|
||||||
#})
|
|
||||||
|
|
||||||
# attempt #3, worked, very buggy
|
|
||||||
(prev.fetchpatch {
|
|
||||||
url = "https://raw.githubusercontent.com/slaier/nixos-config/main/modules/sway/0001-text_input-Implement-input-method-popups.patch";
|
|
||||||
hash = "sha256-f3xI2Pz3rfF2aBfZlC/4wMF/UphKcEVHSCZ1/23AndQ=";
|
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue