pkgs/development/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gettext, emacs }:
{ lib, stdenv, fetchurl, gettext, emacs }:
stdenv.mkDerivation rec {
name = "cflow-1.6";
@@ -16,14 +16,14 @@ stdenv.mkDerivation rec {
buildInputs = [ gettext ] ++
# We don't have Emacs/GTK/etc. on {Dar,Cyg}win.
stdenv.lib.optional
(! (stdenv.lib.lists.any (x: stdenv.hostPlatform.system == x)
lib.optional
(! (lib.lists.any (x: stdenv.hostPlatform.system == x)
[ "i686-cygwin" ]))
emacs;
doCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Tool to analyze the control flow of C programs";
longDescription = ''