mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
Merge pull request #552 from wizeman/chrony-cap
chrony: Add readline and libcap (on Linux) as dependencies
This commit is contained in:
commit
e9efb281ee
@ -1,4 +1,6 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ stdenv, fetchurl, libcap, readline }:
|
||||
|
||||
assert stdenv.isLinux -> libcap != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "chrony-1.27";
|
||||
@ -8,6 +10,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "17dfhcm5mrkg8ids0ajwscryr7fm7664kz10ygsa1ac047p3aj6l";
|
||||
};
|
||||
|
||||
buildInputs = [ readline ] ++ stdenv.lib.optional stdenv.isLinux libcap;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A pair of programs which are used to maintain the accuracy of the system clock on a computer.";
|
||||
homepage = "http://chrony.tuxfamily.org/";
|
||||
|
Loading…
Reference in New Issue
Block a user