Skip to content

fix(build): add guards for platform-specific support#90

Merged
water-sucks merged 4 commits intonix-community:mainfrom
water-sucks:platform-support
Jul 11, 2025
Merged

fix(build): add guards for platform-specific support#90
water-sucks merged 4 commits intonix-community:mainfrom
water-sucks:platform-support

Conversation

@water-sucks
Copy link
Copy Markdown
Collaborator

In the future, I'll want to support an interesting use case: installation from foreign architectures and operating systems, such as deploying an x86_64-linux system from an aarch64-darwin system.

This will probably be pretty uncommon, but regardless, I separated out the Linux-specific and NixOS-specific functionality and added checks/compile-time separation between these components.

@water-sucks water-sucks merged commit 49bc4fc into nix-community:main Jul 11, 2025
1 check passed
@water-sucks water-sucks deleted the platform-support branch July 11, 2025 20:45
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.

1 participant