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

coturn: remove unnecessary libpromhttp dependency, fix build #369142

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

jvanbruegge
Copy link
Contributor

This fixes the coturn build

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@jvanbruegge
Copy link
Contributor Author

This PR reworked the prometheus endpoint coturn/coturn#1591

Since the latest release libpromhttp is no longer used

@jvanbruegge jvanbruegge changed the title coturn: remove unnecessary libpromhttp dependency coturn: remove unnecessary libpromhttp dependency, fix build Dec 29, 2024
jvanbruegge added a commit to jvanbruegge/server-config that referenced this pull request Dec 29, 2024
@lucasew
Copy link
Contributor

lucasew commented Dec 29, 2024

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 369142


x86_64-linux

✅ 1 package built:
  • coturn

@jvanbruegge
Copy link
Contributor Author

The ofborg failure is unrelated to this build

Copy link
Contributor

@illustris illustris left a comment

Choose a reason for hiding this comment

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

Hi. Thanks for the fix. Please also remove the libpromhttp input from line 9. I remember there being some CI linter step to check for unused args, not sure if it was removed or failed to detect this.

@fpletz fpletz dismissed illustris’s stale review December 30, 2024 03:03

Remove the unused argument.

Copy link
Contributor

@illustris illustris left a comment

Choose a reason for hiding this comment

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

Automatic merge went well; stopped before committing as requested
$ nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f <nixpkgs> --nix-path nixpkgs=/home/illustris/.cache/nixpkgs-review/pr-369142-1/nixpkgs nixpkgs-overlays=/tmp/nix-shell-3414400-0/tmpuvfpd4le -qaP --xml --out-path --show-trace --no-allow-import-from-derivation --meta
--------- Impacted packages on 'x86_64-linux' ---------
1 package updated:
coturn


$ nix build --file /nix/store/fljl402absl1lsyqd9w6cslvcxa7xs0z-nixpkgs-review-2.12.0/lib/python3.12/site-packages/nixpkgs_review/nix/review-shell.nix --nix-path 'nixpkgs=/home/illustris/.cache/nixpkgs-review/pr-369142-1/nixpkgs nixpkgs-overlays=/tmp/nix-shell-3414400-0/tmpuvfpd4le' --extra-experimental-features 'nix-command no-url-literals' --no-link --keep-going --no-allow-import-from-derivation --option build-use-sandbox relaxed --argstr local-system x86_64-linux --argstr nixpkgs-path /home/illustris/.cache/nixpkgs-review/pr-369142-1/nixpkgs --argstr nixpkgs-config-path /tmp/nix-shell-3414400-0/tmpoy046zt3.nix --argstr attrs-path /home/illustris/.cache/nixpkgs-review/pr-369142-1/attrs.nix

Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/369142

--------- Report for 'x86_64-linux' ---------
1 package built:
coturn

@fpletz fpletz merged commit 6335d8b into NixOS:master Dec 30, 2024
23 of 24 checks passed
@jvanbruegge jvanbruegge deleted the fix-coturn branch December 30, 2024 08:02
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.

4 participants