electron-cash: remove absolute path in desktop entry

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2024-10-14 21:39:45 +02:00
parent fb74ff8dd0
commit b00728da10
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -61,11 +61,6 @@ python3Packages.buildPythonApplication rec {
--replace "(share_dir" "(\"share\""
'';
postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
substituteInPlace $out/share/applications/electron-cash.desktop \
--replace "Exec=electron-cash" "Exec=$out/bin/electron-cash"
'';
# If secp256k1 wasn't added to the library path, the following warning is given:
#
# Electron Cash was unable to find the secp256k1 library on this system.