mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
portfolio: fix crash at startup
This commit is contained in:
parent
2f0634375c
commit
718275f83c
@ -1,15 +1,15 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
autoPatchelfHook,
|
||||
fetchurl,
|
||||
glib,
|
||||
glib-networking,
|
||||
glibc,
|
||||
gcc-unwrapped,
|
||||
gtk3,
|
||||
openjdk17,
|
||||
lib,
|
||||
libsecret,
|
||||
makeDesktopItem,
|
||||
openjdk17,
|
||||
stdenvNoCC,
|
||||
swt,
|
||||
webkitgtk,
|
||||
wrapGAppsHook3,
|
||||
gitUpdater,
|
||||
@ -25,11 +25,15 @@ let
|
||||
};
|
||||
|
||||
runtimeLibs = lib.makeLibraryPath [
|
||||
glib
|
||||
glib-networking
|
||||
gtk3
|
||||
libsecret
|
||||
swt
|
||||
webkitgtk
|
||||
];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "PortfolioPerformance";
|
||||
version = "0.70.3";
|
||||
|
||||
@ -43,12 +47,8 @@ stdenv.mkDerivation rec {
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gcc-unwrapped
|
||||
glib-networking
|
||||
glibc
|
||||
libsecret
|
||||
];
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/portfolio
|
||||
@ -56,6 +56,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeWrapper $out/portfolio/PortfolioPerformance $out/bin/portfolio \
|
||||
--prefix LD_LIBRARY_PATH : "${runtimeLibs}" \
|
||||
--prefix CLASSPATH : "${swt}/jars/swt.jar" \
|
||||
--prefix PATH : ${openjdk17}/bin
|
||||
|
||||
# Create desktop item
|
||||
|
Loading…
Reference in New Issue
Block a user