mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
electron-cash: remove absolute path in desktop entry
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
fb74ff8dd0
commit
b00728da10
@ -61,11 +61,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
--replace "(share_dir" "(\"share\""
|
--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:
|
# 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.
|
# Electron Cash was unable to find the secp256k1 library on this system.
|
||||||
|
Loading…
Reference in New Issue
Block a user