Skip to content

kbd: link compression libs directly#434001

Merged
flokli merged 2 commits intoNixOS:stagingfrom
nikstur:kbd-compression
Aug 19, 2025
Merged

kbd: link compression libs directly#434001
flokli merged 2 commits intoNixOS:stagingfrom
nikstur:kbd-compression

Conversation

@nikstur
Copy link
Contributor

@nikstur nikstur commented Aug 15, 2025

  • Clean up derivation
  • Remove NIX_LDFLAGS which achieved nothing. Static compilation works
    without it on master. It's unclear what this should've ever achieved.
    kbd doesn't link against audit.
  • Build directly from source now instead of the preconfigured tarball
    (avoids xz-style issues)

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nikstur nikstur marked this pull request as draft August 15, 2025 15:23
@nikstur
Copy link
Contributor Author

nikstur commented Aug 15, 2025

cc @flokli

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Aug 15, 2025
@flokli
Copy link
Member

flokli commented Aug 18, 2025

I ran the VM tests as well, but didn't get to tinker with it interactively until before it got merged upstream.

The Nix changes look good, if you've been running this sucessfully, I'd suggest to update the expression to point to the merge commit, and land this.

Link compression libs directly.

- Clean up derivation
- Remove NIX_LDFLAGS which achieved nothing. Static compilation works
  without it on master. It's unclear what this should've every achieved.
  kbd doesn't link against audit.
- Build directly from source now instead of the preconfigured tarball
  (avoids xz-style issues)
@nikstur nikstur marked this pull request as ready for review August 18, 2025 21:55
@nikstur nikstur mentioned this pull request Aug 18, 2025
13 tasks
@flokli flokli merged commit 3321fa3 into NixOS:staging Aug 19, 2025
29 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants