pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user