Skip to content

playit: init at 0.15.26 #294103

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

playit: init at 0.15.26 #294103

wants to merge 1 commit into from

Conversation

IogaMaster
Copy link
Contributor

@IogaMaster IogaMaster commented Mar 7, 2024

https://github.com/playit-cloud/playit-agent

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@IogaMaster
Copy link
Contributor Author

This review has been done with warden, please report any issues!

Packages built

✅ playit

nix-info -m

  • system: "x86_64-linux"
  • host os: Linux 6.1.77, NixOS, 24.05 (Uakari), 24.05.20240306.9df3e30
  • multi-user?: yes
  • sandbox: relaxed
  • version: nix-env (Nix) 2.19.3
  • nixpkgs: /etc/nix/inputs/nixpkgs

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Mar 7, 2024
@IogaMaster IogaMaster requested a review from eclairevoyant April 3, 2024 19:43
darwin.apple_sdk.frameworks.Security
];

doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reason?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nix-unit thought it was neccses

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nix-init? You should test it yourself

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It worked, I do not have a darwin machine to test on.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ofBorg will run the builds here. You can see if it fails

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, please either remove it or write reason in comment:

Suggested change
doCheck = false;
doCheck = false; # Whatever reason

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@purrpurrn
Copy link
Contributor

I am not a fan of bumping PRs, but are there any updates on this?

@purrpurrn purrpurrn mentioned this pull request Sep 2, 2024
13 tasks
@FliegendeWurst
Copy link
Member

@ofborg build playit

https://github.com/playit-cloud/playit-agent

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>

cargoHash = "sha256-HIwoPmxMvq3zlhzqSNKZVnWUxW9jE6c0lzztmSYpHzM=";

buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];

Such dependencies are no longer needed after darwin SDK rework.

darwin.apple_sdk.frameworks.Security
];

doCheck = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, please either remove it or write reason in comment:

Suggested change
doCheck = false;
doCheck = false; # Whatever reason

Comment on lines +26 to +31
meta = with lib; {
description = "Global proxy to run an online game server";
homepage = "https://github.com/playit-cloud/playit-agent";
license = licenses.bsd2;
maintainers = with maintainers; [ iogamaster ];
mainProgram = "playit-cli";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
meta = with lib; {
description = "Global proxy to run an online game server";
homepage = "https://github.com/playit-cloud/playit-agent";
license = licenses.bsd2;
maintainers = with maintainers; [ iogamaster ];
mainProgram = "playit-cli";
meta = {
description = "Global proxy to run an online game server";
homepage = "https://github.com/playit-cloud/playit-agent";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ iogamaster ];
mainProgram = "playit-cli";

@IogaMaster
Copy link
Contributor Author

I will wait for the build to finish, because I forgot to check last time :p

Once that is done I will do all the updates and remove doCheck.

@Aleksanaa
Copy link
Member

It's fine now

@purrpurrn
Copy link
Contributor

It would be nice if you could update the PR title

@IogaMaster IogaMaster changed the title playit: init at 0.15.13 playit: init at 0.15.26 Nov 15, 2024
@Richienb
Copy link

Richienb commented Jan 17, 2025

Could we also alias playit to be playit-cli for convenience?

	postInstall = ''
		ln -s $out/bin/playit-cli $out/bin/playit
	'';

@Richienb
Copy link

Can we also define this as a service?

Meanwhile, I'm doing this in my home.nix:

	systemd.user.services.playit = {
		Unit = {
			description = "PlayIt";
		};

    Install = {
			WantedBy = [ "multi-user.target" ];
    };

    Service = {
			ExecStart = ''
				${pkgs.lib.getExe playit} --stdout --secret_wait start
			'';
		};
	};

@FliegendeWurst FliegendeWurst marked this pull request as draft March 10, 2025 22:09
@nixpkgs-ci nixpkgs-ci bot added 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md and removed 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md labels Jun 25, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 17, 2025
@redchess64
Copy link

is any work still being made on this pr?

@nixpkgs-ci nixpkgs-ci bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants