Skip to content

Commit

Permalink
Use fix PR for Clipboard's wayland flicker issue
Browse files Browse the repository at this point in the history
Can be reverted once Slackadays/Clipboard#203
was merged, released and incorporated into nixpkgs.
  • Loading branch information
iFreilicht committed Sep 26, 2024
1 parent 9a2ad25 commit c3a4379
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .dotfiles/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
autojump # Jump to often-visited directories quickly
fzf # Fuzzy search command history
zellij # Split views and sessions
clipboard-jh # Clipboard integration for X11, Wayland, macOS, Windows and OSC 52

# Some utilities
git-absorb # Easier fixup-rebase workflow for git
Expand Down Expand Up @@ -132,11 +131,23 @@
(with pkgs; [
# MacOS git supports unlocking with keychain, which is conventient
git # Version management. Consistent version means access to new features on all platforms/distros.
# Clipboard has a bug on Wayland, use custom fix from https://github.com/Slackadays/Clipboard/pull/203
(clipboard-jh.overrideAttrs (oldAttrs: {
version = "0.9.0.2+pre+fix_wayland_flicker";
src = fetchFromGitHub {
owner = "iFreilicht";
repo = "Clipboard";
rev = "15bb982412e3134a09eab28d8c27d9a60f5f9aef";
hash = "sha256-g0YNnpqpGx17j4JzGVgDWanY0AqNtTfUffh9IKon0rc=";
};
buildInputs = oldAttrs.buildInputs ++ [ pkgs.openssl ];
}))
])
++ lib.lists.optionals (lib.strings.hasInfix "darwin" system)
(with pkgs; [
# The nix version somehow doesn't honor UTF-8 locales on linux, use the distro's version instead
zsh
clipboard-jh # Clipboard integration for X11, Wayland, macOS, Windows and OSC 52
]);
in
{
Expand Down

0 comments on commit c3a4379

Please sign in to comment.