diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2024-01-17 16:08:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-17 16:08:45 +0100 |
commit | 2f10e6baf953c03c2b45faa7654a1364fd340dc1 (patch) | |
tree | ee7cda0e72b1a1671b8bd8f9b76280fb61ced093 /pkgs/applications | |
parent | 2ff18545cc7b3e83f2a86f19d19ea26f39a61d68 (diff) | |
parent | 527feea2a3c4f15c7a2ed8dbd1c59959d7024a2b (diff) |
Merge pull request #281487 from ymarkus/wofi-emoji
Wofi emoji: 2023-06-19 -> 2023-12-22 & fix paths in shell script
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/misc/wofi-emoji/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/applications/misc/wofi-emoji/default.nix b/pkgs/applications/misc/wofi-emoji/default.nix index f759ee34fb0f4..bf58b91956585 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 = '' |