New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update btcpayserver, nbxplorer #104313
Update btcpayserver, nbxplorer #104313
Conversation
Tested the following: check hashes, build, run server, check webfront. All looks good The new btcpayserver script looks good as well :) |
Result of 2 packages built:
|
#!${bash}/bin/bash | ||
DOTNET_CLI_TELEMETRY_OPTOUT=1 exec ${dotnetSdk}/bin/dotnet run --no-launch-profile --no-build \ | ||
-c Release -p @@SHARE@@/BTCPayServer/BTCPayServer.csproj -- "$@" | ||
dotnet publish --no-restore --output $out/share/$pname -c Release BTCPayServer/BTCPayServer.csproj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dotnet publish --no-restore --output $out/share/$pname -c Release BTCPayServer/BTCPayServer.csproj | |
DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet publish --no-restore --output $out/share/$pname -c Release BTCPayServer/BTCPayServer.csproj |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DOTNET_CLI_TELEMETRY_OPTOUT
is already set here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
btcpayserver
pkg is now built in the same way as thenbxplorer
pkg:Use
dotnet publish
instead ofdotnet build
and wrap the executable.Both packages pass nix-bitcoin's NixOS VM test suite.
To run the test, use the following script.
It leaves no traces (outside of
/nix/store
) on the host system.