diff --git a/pkgs/games/space-station-14-launcher/default.nix b/pkgs/games/space-station-14-launcher/default.nix index 606f0659c788..ecf1d8781a5a 100644 --- a/pkgs/games/space-station-14-launcher/default.nix +++ b/pkgs/games/space-station-14-launcher/default.nix @@ -14,7 +14,8 @@ let ''; in buildFHSEnv rec { - name = "space-station-14-launcher-wrapped"; + pname = "space-station-14-launcher-wrapped"; + inherit (space-station-14-launcher) version; targetPkgs = pkgs: [ space-station-14-launcher @@ -35,6 +36,6 @@ buildFHSEnv rec { unwrapped = space-station-14-launcher; }; meta = space-station-14-launcher.meta // { - mainProgram = name; + mainProgram = pname; }; } diff --git a/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix b/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix index 9483561a4a1b..9ad8c3b335f6 100644 --- a/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix +++ b/pkgs/games/space-station-14-launcher/space-station-14-launcher.nix @@ -27,7 +27,7 @@ let pname = "space-station-14-launcher"; in buildDotnetModule rec { - inherit pname; + inherit pname version; # Workaround to prevent buildDotnetModule from overriding assembly versions. name = "${pname}-${version}";