Skip to content

Commit

Permalink
Merge pull request #2053 from tgstation/FixNix [TGSDeploy]
Browse files Browse the repository at this point in the history
Fix nix
  • Loading branch information
Cyberboss authored Dec 19, 2024
2 parents 6df3c67 + bd5b721 commit 99a9465
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/Version.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- Integration tests will ensure they match across the board -->
<Import Project="WebpanelVersion.props" />
<PropertyGroup>
<TgsCoreVersion>6.12.0</TgsCoreVersion>
<TgsCoreVersion>6.12.1</TgsCoreVersion>
<TgsConfigVersion>5.4.0</TgsConfigVersion>
<TgsRestVersion>10.12.0</TgsRestVersion>
<TgsGraphQLVersion>0.5.0</TgsGraphQLVersion>
Expand Down
5 changes: 3 additions & 2 deletions build/package/nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ let
xmlstarlet sel -N X="http://schemas.microsoft.com/developer/msbuild/2003" --template --value-of /X:Project/X:PropertyGroup/X:TgsCoreVersion ./Version.props > $out/tgs_version.txt
'';
};
version = (builtins.readFile "${versionParse}/tgs_version.txt");

fixedOutput = stdenv.mkDerivation {
pname = "tgstation-server-release-server-console-zip";
version = (builtins.readFile "${versionParse}/tgs_version.txt");
inherit version;

meta = with pkgs.lib; {
description = "Host watchdog binaries for tgstation-server";
Expand Down Expand Up @@ -99,7 +100,7 @@ stdenv.mkDerivation {
mkdir -p $out/bin
unzip "${fixedOutput}/ServerConsole.zip" -d $out/bin
rm -rf $out/bin/lib
makeWrapper ${pkgs.dotnetCorePackages.sdk_8_0}/dotnet $out/bin/tgstation-server --suffix PATH : ${
makeWrapper ${pkgs.dotnetCorePackages.sdk_8_0}/bin/dotnet $out/bin/tgstation-server --suffix PATH : ${
lib.makeBinPath (
with pkgs;
[
Expand Down

0 comments on commit 99a9465

Please sign in to comment.