Skip to content

prometheus: fix build#70956

Merged
peti merged 1 commit intoNixOS:haskell-updatesfrom
sevanspowell:haskell-updates
Oct 13, 2019
Merged

prometheus: fix build#70956
peti merged 1 commit intoNixOS:haskell-updatesfrom
sevanspowell:haskell-updates

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

@ofborg ofborg bot added 6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Oct 11, 2019
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.
@Janik-Haag Janik-Haag added the 12.first-time contribution This PR is the author's first one; please be gentle! label Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: haskell General-purpose, statically typed, purely functional programming language 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants