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

adom: Rewrite derivation, add ascii-only variant #61543

Closed
wants to merge 3 commits into from

Conversation

Baughn
Copy link
Contributor

@Baughn Baughn commented May 15, 2019

Motivation for this change

The mirror currently used for ADOM has died.

This PR points at the new one that's linked from adom.de. In addition I added a derivation for the (much smaller) ascii-only variant, updated the derivation to use autoPatchElf, and added a hypothetically-functional i686 version. I unfortunately cannot test that, as some of the dependencies fail when cross-compiling.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@Baughn
Copy link
Contributor Author

Baughn commented May 15, 2019

There's no documentation for adom. I wasn't really expecting any. In such a case, does that count as being 'up to date'?

luajit
];

unpackPhase = ''
Copy link
Contributor

Choose a reason for hiding this comment

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

You could probably set sourceRoot = "./adom"; instead of overriding the whole unpack phase.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The default unpackPhase fails to unpack the files from indiedb.com, as they lack extensions. However, on trying this again I find that the URLs no longer work -- they're presumably temporary.

Not sure what to do about that. Ask the ADOM author, probably.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah those file share sites are hostile to scripted downloads. Are you sure the author permits redistribution? :) I don't see it listed in Debian or Ubuntu package sets, even though the author provides debs...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Debian has a thing against non-free software. It might be in the non-free repo, haven't checked.

The 'downloads' page does say to contact him if there are any packaging issues for new distros, so I'll do that.

Baughn and others added 2 commits May 16, 2019 14:57
Co-Authored-By: Renaud <c0bw3b@users.noreply.github.com>
Co-Authored-By: Renaud <c0bw3b@users.noreply.github.com>
@aanderse
Copy link
Member

aanderse commented Sep 1, 2019

ping (triage)

@Baughn
Copy link
Contributor Author

Baughn commented Sep 1, 2019

I was never able to get in touch with the author. I think we can consider this pull request dead -- anyway, ADOM is on Steam now.

@Baughn Baughn closed this Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants