3
0
Fork 0
forked from mirrors/nixpkgs

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