corosync: remove top-level with lib;

This commit is contained in:
TomaSajt 2024-05-13 21:50:51 +02:00
parent 1e3deb3d8a
commit c34dac0481
No known key found for this signature in database
GPG Key ID: F011163C050122A1

View File

@ -7,8 +7,9 @@
, nixosTests
}:
with lib;
let
inherit (lib) optional;
in
stdenv.mkDerivation rec {
pname = "corosync";
version = "3.1.8";
@ -50,7 +51,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
preConfigure = optionalString enableInfiniBandRdma ''
preConfigure = lib.optionalString enableInfiniBandRdma ''
# configure looks for the pkg-config files
# of librdmacm and libibverbs
# Howver, rmda-core does not provide a pkg-config file
@ -70,7 +71,7 @@ stdenv.mkDerivation rec {
inherit (nixosTests) pacemaker;
};
meta = {
meta = with lib; {
homepage = "http://corosync.org/";
description = "Group Communication System with features for implementing high availability within applications";
license = licenses.bsd3;