Skip to content
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

antimatter-dimensions: init at 0-unstable-2024-05-11 #317242

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

amozeo
Copy link
Contributor

@amozeo amozeo commented Jun 4, 2024

About package

Antimatter Dimensions is an idle incremental game with many prestige layers, and can take up to year to complete it.

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.11 Release Notes (or backporting 23.11 and 24.05 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.

@github-actions github-actions bot added the 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` label Jun 4, 2024
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1 labels Jun 4, 2024
@JohnRTitor
Copy link
Contributor

Result of nixpkgs-review pr 317242 run on x86_64-linux 1

1 package built:
  • antimatter-dimensions

@amozeo amozeo force-pushed the pkgs/antimatter-dimensions/init branch from d051c80 to 50d8dc1 Compare June 24, 2024 16:38
@amozeo amozeo changed the title antimatter-dimensions: init at unstable-2024-05-11 antimatter-dimensions: init at 0-unstable-2024-05-11 Jun 24, 2024
Copy link
Contributor

@Pandapip1 Pandapip1 left a comment

Choose a reason for hiding this comment

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

Why bundle this as an electron app when you can have the desktop entry file run xdg-open index.html?

@JohnRTitor
Copy link
Contributor

Why bundle this as an electron app when you can have the desktop entry file run xdg-open index.html?

Let's not go there. I'd be very much against a scenario where I installed an app and it opens in the web browser to run for god's sake.

@amozeo
Copy link
Contributor Author

amozeo commented Jun 24, 2024

Why bundle this as an electron app when you can have the desktop entry file run xdg-open index.html?

Steam version of upstream is bundled with electron, and it's not available for linux unless you use proton.

@amozeo amozeo force-pushed the pkgs/antimatter-dimensions/init branch from 50d8dc1 to bc708ba Compare June 25, 2024 14:29
@JohnRTitor
Copy link
Contributor

You might also want to add a desktop file like

desktopItem = makeDesktopItem {
name = executableName;
desktopName = longName;
comment = "Code Editing. Redefined.";
genericName = "Text Editor";
exec = "${executableName} %F";
icon = "vs${executableName}";
startupNotify = true;
startupWMClass = shortName;
categories = [ "Utility" "TextEditor" "Development" "IDE" ];
mimeTypes = [ "text/plain" "inode/directory" ];
keywords = [ "vscode" ];
actions.new-empty-window = {
name = "New Empty Window";
exec = "${executableName} --new-window %F";
icon = "vs${executableName}";
};
};

@amozeo amozeo force-pushed the pkgs/antimatter-dimensions/init branch from bc708ba to 7244833 Compare June 25, 2024 14:44
@amozeo
Copy link
Contributor Author

amozeo commented Jun 25, 2024

You might also want to add a desktop file like
@JohnRTitor

what's wrong with the way I currently made desktop icon?

@JohnRTitor
Copy link
Contributor

I am not seeing a desktop file in /nix/store/xjz48hc4q7ijcxwbyxc330wqhqyjjvfs-antimatter-dimensions-0-unstable-2024-05-11/share/applications for some reason though.

@amozeo amozeo force-pushed the pkgs/antimatter-dimensions/init branch from 7244833 to 3cf2c9a Compare June 25, 2024 16:09
@amozeo amozeo requested a review from JohnRTitor June 25, 2024 17:15
Copy link
Contributor

@JohnRTitor JohnRTitor left a comment

Choose a reason for hiding this comment

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

LGTM

@JohnRTitor JohnRTitor merged commit f35da17 into NixOS:master Jun 25, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10 10.rebuild-linux: 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants