pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, dbus, nettle, fetchpatch
{ lib, stdenv, fetchurl, pkgconfig, dbus, nettle, fetchpatch
, libidn, libnetfilter_conntrack }:
with stdenv.lib;
with lib;
let
copts = concatStringsSep " " ([
"-DHAVE_IDN"
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sha256 = "0cn1xd1s6xs78jmrmwjnh9m6w3q38pk6dyqy2phvasqiyd33cll4";
};
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isLinux ''
postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
sed '1i#include <linux/sockios.h>' -i src/dhcp.c
'';