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

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -1,4 +1,4 @@
{stdenv, fetchurl, pkg-config }:
{lib, stdenv, fetchurl, pkg-config }:
stdenv.mkDerivation rec {
name = "liboil-0.3.17";
@@ -17,12 +17,12 @@ stdenv.mkDerivation rec {
# fix "argb_paint_i386.c:53:Incorrect register `%rax' used with `l' suffix"
# errors
configureFlags = stdenv.lib.optional stdenv.isDarwin "--build=x86_64";
configureFlags = lib.optional stdenv.isDarwin "--build=x86_64";
# fixes a cast in inline asm: easier than patching
buildFlags = stdenv.lib.optional stdenv.isDarwin "CFLAGS=-fheinous-gnu-extensions";
buildFlags = lib.optional stdenv.isDarwin "CFLAGS=-fheinous-gnu-extensions";
meta = with stdenv.lib; {
meta = with lib; {
description = "A library of simple functions that are optimized for various CPUs";
homepage = "https://liboil.freedesktop.org";
license = licenses.bsd2;