-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
liblogging: add withSystemd option #262840
Conversation
@@ -1,5 +1,6 @@ | |||
{ lib, stdenv, fetchurl, pkg-config | |||
, systemd ? null | |||
, withSystemd ? true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, withSystemd ? true | |
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This is one of those patches I'd been carrying since before meta.availableOn
existed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you dropped this accidentally
This allows to build liblogging on platforms where systemd does not compile.
Description of changes
This allows to build liblogging on platforms where systemd does not compile.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)