pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user