diff --git a/pkgs/applications/misc/wofi-emoji/default.nix b/pkgs/applications/misc/wofi-emoji/default.nix index f759ee34fb0f..bf58b9195658 100644 --- a/pkgs/applications/misc/wofi-emoji/default.nix +++ b/pkgs/applications/misc/wofi-emoji/default.nix @@ -6,13 +6,13 @@ let emojiJSON = fetchurl { in stdenv.mkDerivation rec { pname = "wofi-emoji"; - version = "unstable-2023-06-19"; + version = "unstable-2023-12-22"; src = fetchFromGitHub { owner = "Zeioth"; repo = pname; - rev = "796d688b71ac9fa1e5b2c1b9a3fa11dba801b02b"; - hash = "sha256-HBsqekNuKqxaKaSeLboukLm4Lkg9JakPO7uN3Z8QBC8="; + rev = "2cc95880848134a3bbe0675bcb62a0dae1d0f572"; + hash = "sha256-t9M8z8JxuvBDzNs98L7YTNUfTK23W1DYGdHDiXNQOgk="; }; nativeBuildInputs = [ jq ]; @@ -21,6 +21,10 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace build.sh \ --replace 'curl ${emojiJSON.url}' 'cat ${emojiJSON}' + substituteInPlace wofi-emoji \ + --replace 'wofi' '${wofi}/bin/wofi' \ + --replace 'wtype' '${wtype}/bin/wtype' \ + --replace 'wl-copy' '${wl-clipboard}/bin/wl-copy' ''; buildPhase = ''