Skip to content

Commit

Permalink
v2rayn: 7.4.1 -> 7.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
aucub committed Dec 26, 2024
1 parent 83333a0 commit e746ac1
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 30 deletions.
56 changes: 28 additions & 28 deletions pkgs/by-name/v2/v2rayn/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions pkgs/by-name/v2/v2rayn/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
}:
buildDotnetModule rec {
pname = "v2rayn";
version = "7.4.1";
version = "7.4.2";

src = fetchFromGitHub {
owner = "2dust";
repo = "v2rayN";
tag = version;
hash = "sha256-mtmuEwZy72LPYFf7hzE8TYiSh2kK6xe2CRdkOSbg2h4=";
hash = "sha256-2L/c0HpHqlRxVBfP4N+lrYs6FWDK9mLpJdSPf+tV+lc=";
};

projectFile = "v2rayN/v2rayN.Desktop/v2rayN.Desktop.csproj";
Expand All @@ -37,6 +37,8 @@ buildDotnetModule rec {
postPatch = ''
substituteInPlace v2rayN/ServiceLib/Common/Utils.cs \
--replace-fail "/bin/bash" "${bash}/bin/bash"
substituteInPlace v2rayN/ServiceLib/Handler/AutoStartupHandler.cs \
--replace-fail "Utils.GetExePath())" '"${placeholder "out"}/bin/v2rayN")'
'';

dotnetBuildFlags = [ "-p:PublishReadyToRun=false" ];
Expand Down

0 comments on commit e746ac1

Please sign in to comment.