Remove dotnet dependency
This commit is contained in:
parent
582e30fb29
commit
cb498323ae
|
@ -3,24 +3,18 @@
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
, curl
|
|
||||||
, dotnetCorePackages
|
|
||||||
, lttng-ust_2_12
|
, lttng-ust_2_12
|
||||||
, fontconfig
|
, fontconfig
|
||||||
, krb5
|
|
||||||
, openssl
|
, openssl
|
||||||
, xorg
|
, xorg
|
||||||
, zlib
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
dotnet-runtime = dotnetCorePackages.runtime_6_0;
|
|
||||||
# These libraries are dynamically loaded by the application,
|
# These libraries are dynamically loaded by the application,
|
||||||
# and need to be present in LD_LIBRARY_PATH
|
# and need to be present in LD_LIBRARY_PATH
|
||||||
runtimeLibs = [
|
runtimeLibs = [
|
||||||
curl
|
|
||||||
fontconfig.lib
|
fontconfig.lib
|
||||||
krb5
|
|
||||||
openssl
|
openssl
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
xorg.libX11
|
xorg.libX11
|
||||||
|
@ -58,12 +52,10 @@ stdenv.mkDerivation rec {
|
||||||
mkdir -p $out/opt/${pname} $out/bin $out/share/applications
|
mkdir -p $out/opt/${pname} $out/bin $out/share/applications
|
||||||
cp -Rv . $out/opt/${pname}
|
cp -Rv . $out/opt/${pname}
|
||||||
|
|
||||||
makeWrapper "${dotnet-runtime}/bin/dotnet" "$out/bin/${pname}" \
|
makeWrapper "$out/opt/${pname}/wassabee" "$out/bin/${pname}" \
|
||||||
--add-flags "$out/opt/${pname}/WalletWasabi.Fluent.Desktop.dll" \
|
|
||||||
--suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}"
|
--suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}"
|
||||||
|
|
||||||
makeWrapper "${dotnet-runtime}/bin/dotnet" "$out/bin/${pname}d" \
|
makeWrapper "$out/opt/${pname}/wassabeed" "$out/bin/${pname}d" \
|
||||||
--add-flags "$out/opt/${pname}/WalletWasabi.Daemon.dll" \
|
|
||||||
--suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}"
|
--suffix "LD_LIBRARY_PATH" : "${lib.makeLibraryPath runtimeLibs}"
|
||||||
|
|
||||||
cp -v $desktopItem/share/applications/* $out/share/applications
|
cp -v $desktopItem/share/applications/* $out/share/applications
|
||||||
|
|
Loading…
Reference in a new issue