wofi-emoji: fix paths in shell script

This commit is contained in:
Yannick Markus 2024-01-17 09:37:11 +01:00
parent f11eff088e
commit 527feea2a3
No known key found for this signature in database
GPG Key ID: 4E5429F07736AB7F

View File

@ -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 = ''