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
{ lib, stdenv
, fetchurl
, perl
, python3
@@ -57,7 +57,7 @@
assert enableGeoLocation -> geoclue2 != null;
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "webkitgtk";
@@ -80,7 +80,7 @@ stdenv.mkDerivation rec {
./libglvnd-headers.patch
];
preConfigure = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
# Ignore gettext in cmake_prefix_path so that find_program doesn't
# pick up the wrong gettext. TODO: Find a better solution for
# this, maybe make cmake not look up executables in
@@ -100,7 +100,7 @@ stdenv.mkDerivation rec {
python3
ruby
glib # for gdbus-codegen
] ++ stdenv.lib.optionals stdenv.isLinux [
] ++ lib.optionals stdenv.isLinux [
wayland # for wayland-scanner
];