From 1e5a8f9dd7aea4d45403e31440dbf25de6b5a157 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 26 Jun 2019 09:26:29 +0200 Subject: [PATCH] hostapd: remove global with stdenv.lib --- pkgs/os-specific/linux/hostapd/default.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/hostapd/default.nix b/pkgs/os-specific/linux/hostapd/default.nix index b2417ebeb47..7629a20473b 100644 --- a/pkgs/os-specific/linux/hostapd/default.nix +++ b/pkgs/os-specific/linux/hostapd/default.nix @@ -1,6 +1,5 @@ { stdenv, fetchurl, pkgconfig, libnl, openssl, sqlite ? null }: -with stdenv.lib; stdenv.mkDerivation rec { name = "hostapd-${version}"; version = "2.8"; @@ -50,7 +49,7 @@ stdenv.mkDerivation rec { CONFIG_INTERNETWORKING=y CONFIG_HS20=y CONFIG_ACS=y - '' + optionalString (sqlite != null) '' + '' + stdenv.lib.optionalString (sqlite != null) '' CONFIG_SQLITE=y ''; @@ -69,7 +68,7 @@ stdenv.mkDerivation rec { install -vD hostapd_cli.1 -t $man/share/man/man1 ''; - meta = { + meta = with stdenv.lib; { homepage = http://hostap.epitest.fi; repositories.git = git://w1.fi/hostap.git; description = "A user space daemon for access point and authentication servers";