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

enigma: init at 1.21 #108902

Merged
merged 2 commits into from Feb 21, 2021
Merged

enigma: init at 1.21 #108902

merged 2 commits into from Feb 21, 2021

Conversation

iblech
Copy link
Contributor

@iblech iblech commented Jan 10, 2021

Motivation for this change

enigma is a fun puzzle game available in Debian and Arch. This pull request adds it to nixpkgs.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

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

1 package built:
  • enigma

@SuperSandro2000
Copy link
Member

Can you please fetch from https://github.com/Enigma-Game/Enigma/releases ?

@SuperSandro2000
Copy link
Member

Also please mark it broken on darwin for now.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 108902 run on x86_64-darwin 1

1 package failed to build and are new build failure:

path should be ${gettext}

@iblech
Copy link
Contributor Author

iblech commented Jan 10, 2021

Oh, awesome, I didn't realize that development of enigma has picked up again! I'll push a version bump (in a new commit, since I believe there is some value to having the older version available). For the new version, none of the earlier patches are required, but we do need a little bit of CPPFLAGS.

I cannot test on darwin. Let's give the new version a try; if it doesn't work, then I'll mark it as broken.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 108902 run on x86_64-darwin 1

1 package failed to build and are new build failure:

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

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

1 package built:
  • enigma

@SuperSandro2000
Copy link
Member

Yeah, now I can't merge it. Please revert the platform change and mark it broken on darwin.

@iblech
Copy link
Contributor Author

iblech commented Jan 11, 2021

Seeing that darwin doesn't work out of the box with the new version either (and I having no access to a darwin machine to further debug this), I've restricted in a new force-push to platforms.linux.

@iblech
Copy link
Contributor Author

iblech commented Jan 11, 2021

Ah, I noticed your comment a bit too late. Will do so in a second!

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

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

1 package built:
  • enigma

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

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

1 package built:
  • enigma

@davidak davidak merged commit 8f42d3e into NixOS:master Feb 21, 2021

postInstall = ''
rm -r $out/include
wrapProgram $out/bin/enigma --prefix PATH : "${stdenv.lib.makeBinPath [ xdg_utils ]}"
Copy link
Member

Choose a reason for hiding this comment

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

ofborg didn't catch this because it runs the outpaths checks in the PR's tree. Since this PR was old(er than the stdenv.lib trace commit), it didn't fail, but this is causing newer PRs (with the stdenv.lib trace commit) to fail.

Copy link
Member

Choose a reason for hiding this comment

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

Fixed in #113865.

Copy link
Member

Choose a reason for hiding this comment

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

xdg_utils is an alias to xdg-utils -- fixed in #113869.

@iblech
Copy link
Contributor Author

iblech commented Feb 21, 2021

Oh, I'm sorry I didn't catch this, thank you for the post-merge surgery!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants