From 7ca789f598c856ceda3ac55d028ab5a8a8a1e6a2 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 4 Dec 2021 21:24:48 +0100 Subject: ma pkgs: stdenv.lib -> lib --- makefu/5pkgs/uhub/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'makefu/5pkgs/uhub') diff --git a/makefu/5pkgs/uhub/default.nix b/makefu/5pkgs/uhub/default.nix index 66dfebc3..e0ee035e 100644 --- a/makefu/5pkgs/uhub/default.nix +++ b/makefu/5pkgs/uhub/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchpatch, fetchFromGitHub, cmake, openssl, sqlite, pkgconfig, systemd +{ stdenv, lib, fetchpatch, fetchFromGitHub, cmake, openssl, sqlite, pkgconfig, systemd , tlsSupport ? false }: assert tlsSupport -> openssl != null; @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ cmake sqlite systemd ] ++ stdenv.lib.optional tlsSupport openssl; + buildInputs = [ cmake sqlite systemd ] ++ lib.optional tlsSupport openssl; outputs = [ "out" "mod_example" @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { ${if tlsSupport then "-DSSL_SUPPORT=ON" else "-DSSL_SUPPORT=OFF"} ''; - meta = with stdenv.lib; { + meta = with lib; { description = "High performance peer-to-peer hub for the ADC network"; homepage = https://www.uhub.org/; license = licenses.gpl3; -- cgit v1.2.3