Skip to content

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

Merged
wegank merged 1 commit intomasterfrom
unknown repository
Jun 12, 2023
Merged

gcr: use lib.meta.availableOn instead of isLinux#237326
wegank merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@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