Skip to content

xhosts: restrict to linux platform - #573875

Merged
pbsds merged 1 commit into
NixOS:masterfrom
aidandenlinger:xhosts-linux-only
Oct 20, 2026
Merged

pbsds merged 1 commit into
NixOS:masterfrom
aidandenlinger:xhosts-linux-only

Conversation

@aidandenlinger

Copy link
Copy Markdown
Contributor

Name Service Switch (NSS) modules are a glibc feature. They can only be built and used on Linux platforms, so this PR sets platforms to linux.

To be specific, the darwin builds fail because Rust compiles .dylib files for cdylib crates on darwin, so when the fixup phase looks for .so files, it can't find any and mv fails.

Hydra build logs: https://hydra.nixos.org/build/345440352

Things done

Name Service Switch (NSS) modules are a glibc feature.
@nixpkgs-ci
nixpkgs-ci Bot requested a review from MatthewCroughan October 14, 2026 04:04
@nixpkgs-ci nixpkgs-ci Bot added 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 14, 2026

@iedame iedame left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 18, 2026
@pbsds
pbsds added this pull request to the merge queue Oct 20, 2026
Merged via the queue into NixOS:master with commit 6731c53 Oct 20, 2026
34 of 36 checks passed
@aidandenlinger
aidandenlinger deleted the xhosts-linux-only branch November 5, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants