Skip to content

Commit

Permalink
Fix nix versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss committed Dec 17, 2024
1 parent 5ab4cac commit eb817e6
Showing 1 changed file with 3 additions and 2 deletions.
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 eb817e6

Please sign in to comment.