Skip to content

Conversation

@extrowerk
Copy link
Contributor

What does this PR do

This changes lets nix build and work on Illumos based operating systems. Tested on OpenIndiana and OmniOS.

Checklist:

  • [x ] I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

Copy link
Member

@SteveLauC SteveLauC left a comment

Choose a reason for hiding this comment

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

I don't have access to an illumos machine, and nix does not have CI for it as well. However, since Opendiana 1 and you 2 both verified that this patch works, it looks good to me. Thanks for contributing it to the upstream:)

@SteveLauC SteveLauC linked an issue Nov 13, 2025 that may be closed by this pull request
@SteveLauC SteveLauC changed the title Illumos patches fix: make nix build on Illumos Nov 13, 2025
@SteveLauC
Copy link
Member

Let me add a changelog for this PR

@SteveLauC
Copy link
Member

Hi @extrowerk, looks like module sys/resource should be only enabled on Illumos, and Solaris does not have it. So I disabled it on Solaris, see be2352f.

I guess it should still work, but it would be still great if you could give this patch a re-check by either compiling nix or the fish shell on an Illumos machine.

@SteveLauC SteveLauC added this pull request to the merge queue Nov 14, 2025
Merged via the queue into nix-rust:master with commit 41e2f81 Nov 14, 2025
44 checks passed
@SteveLauC
Copy link
Member

Emm, I forgot that auto-emrge was still enabled when I left my last comment:D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nix issues on Illumos

2 participants