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

prometheus: fix build #70956

Merged
merged 1 commit into from Oct 13, 2019
Merged

Conversation

sevanspowell
Copy link
Contributor

Motivation for this change
  • Prometheus was failing due to the http-client version (0.6.4) being
    out-of-bounds (prometheus requires >=0.4 && <0.6).
Things done
  • Jailbroke it.
  • 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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @peti @basvandijk @ElvishJerricco @vaibhavsagar

Copy link
Member

@peti peti left a comment

Choose a reason for hiding this comment

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

Would you mind reporting this problem to upstream? It helps a lot, too, if you'd append a reference to that bug report in a comment in the source code before the override, so that it's easy for maintainers in the future to find out whether that issue still exists.

- Prometheus was failing due to the http-client version (0.6.4) being
out-of-bounds (prometheus requires >=0.4 && <0.6).
- However it builds fine when jailbroken, so I've just jailbroken it.
- An issue has been submitted upstream on prometheus:
  bitnomial/prometheus#34
@sevanspowell
Copy link
Contributor Author

@peti Definitely! I see how that's helpful.

Done.

@peti peti merged this pull request into NixOS:haskell-updates Oct 13, 2019
sevanspowell added a commit to sevanspowell/nixpkgs that referenced this pull request Oct 13, 2019
- Prometheus and ekg-prometheus-adapter were fixed in PR:
  NixOS#70956 but I forgot to remove
  them from the list of broken-packages.
peti pushed a commit that referenced this pull request Oct 18, 2019
- Prometheus and ekg-prometheus-adapter were fixed in PR:
  #70956 but I forgot to remove
  them from the list of broken-packages.
sevanspowell added a commit to sevanspowell/nixpkgs that referenced this pull request Mar 19, 2020
- prometheus no longer needs to be jailbroken, removing 'doJailbreak'.
  Jailbreaking was added in
  NixOS#70956 to overcome issue
  bitnomial/prometheus#34.
- This issue has since been fixed and so jailbreaking is no longer
  necessary.
sevanspowell added a commit to sevanspowell/nixpkgs that referenced this pull request Mar 19, 2020
- prometheus no longer needs to be jailbroken, removing 'doJailbreak'.
  Jailbreaking was added in
  NixOS#70956 to overcome issue
  bitnomial/prometheus#34.
- This issue has since been fixed and so jailbreaking is no longer
  necessary.
peti pushed a commit that referenced this pull request Mar 20, 2020
- prometheus no longer needs to be jailbroken, removing 'doJailbreak'.
  Jailbreaking was added in
  #70956 to overcome issue
  bitnomial/prometheus#34.
- This issue has since been fixed and so jailbreaking is no longer
  necessary.
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

3 participants