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

gcr: use lib.meta.availableOn instead of isLinux #237326

Merged
merged 1 commit into from Jun 12, 2023
Merged

gcr: use lib.meta.availableOn instead of isLinux #237326

merged 1 commit into from Jun 12, 2023

Conversation

ghost
Copy link

@ghost ghost commented Jun 12, 2023

Description of changes

This commit uses lib.meta.availableOn hostPlatform systemd (instead of hostPlatform.isLinux) to decide whether or not to depend on systemd.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Fits CONTRIBUTING.md.

This commit uses `lib.meta.availableOn hostPlatform systemd`
(instead of `hostPlatform.isLinux`) to decide whether or not to
depend on systemd.
@ofborg ofborg 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 Jun 12, 2023
@wegank wegank merged commit 04378fc into NixOS:master Jun 12, 2023
@ghost ghost deleted the pr/gcr/systemd-availableOn branch June 15, 2023 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant