pkgs/development: stdenv.lib -> lib
This commit is contained in:
@@ -16,7 +16,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
|
||||
{
|
||||
newScope,
|
||||
stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper,
|
||||
lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
llvmPackages_5,
|
||||
@@ -27,7 +27,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
debug ? false,
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
@@ -119,7 +119,7 @@ let
|
||||
import ../qtModule.nix
|
||||
{
|
||||
inherit perl;
|
||||
inherit (stdenv) lib;
|
||||
inherit lib;
|
||||
# Use a variant of mkDerivation that does not include wrapQtApplications
|
||||
# to avoid cyclic dependencies between Qt modules.
|
||||
mkDerivation =
|
||||
@@ -136,7 +136,7 @@ let
|
||||
|
||||
mkDerivationWith =
|
||||
import ../mkDerivation.nix
|
||||
{ inherit (stdenv) lib; inherit debug; inherit (self) wrapQtAppsHook; };
|
||||
{ inherit lib; inherit debug; inherit (self) wrapQtAppsHook; };
|
||||
|
||||
mkDerivation = mkDerivationWith stdenvActual.mkDerivation;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
|
||||
{
|
||||
newScope,
|
||||
stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper,
|
||||
lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
llvmPackages_5,
|
||||
@@ -27,7 +27,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
debug ? false,
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
|
||||
{
|
||||
newScope,
|
||||
stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper,
|
||||
lib, stdenv, fetchurl, fetchpatch, fetchFromGitHub, makeSetupHook, makeWrapper,
|
||||
bison, cups ? null, harfbuzz, libGL, perl,
|
||||
gstreamer, gst-plugins-base, gtk3, dconf,
|
||||
llvmPackages_5,
|
||||
@@ -27,7 +27,7 @@ top-level attribute to `top-level/all-packages.nix`.
|
||||
debug ? false,
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ qtModule, stdenv, qtbase, qtdeclarative, bluez }:
|
||||
{ qtModule, lib, stdenv, qtbase, qtdeclarative, bluez }:
|
||||
|
||||
qtModule {
|
||||
name = "qtconnectivity";
|
||||
qtInputs = [ qtbase qtdeclarative ];
|
||||
buildInputs = stdenv.lib.optional stdenv.isLinux bluez;
|
||||
buildInputs = lib.optional stdenv.isLinux bluez;
|
||||
outputs = [ "out" "dev" "bin" ];
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{ stdenv, qtModule, qtbase, qtmultimedia }:
|
||||
{ lib, stdenv, qtModule, qtbase, qtmultimedia }:
|
||||
|
||||
qtModule {
|
||||
name = "qtlocation";
|
||||
qtInputs = [ qtbase qtmultimedia ];
|
||||
outputs = [ "bin" "out" "dev" ];
|
||||
qmakeFlags = stdenv.lib.optional stdenv.isDarwin [
|
||||
qmakeFlags = lib.optional stdenv.isDarwin [
|
||||
# boost uses std::auto_ptr which has been disabled in clang with libcxx
|
||||
# This flag re-enables this feature
|
||||
# https://libcxx.llvm.org/docs/UsingLibcxx.html#c-17-specific-configuration-macros
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ stdenv, qtModule, qtbase }:
|
||||
{ lib, stdenv, qtModule, qtbase }:
|
||||
|
||||
qtModule {
|
||||
name = "qtmacextras";
|
||||
qtInputs = [ qtbase ];
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
maintainers = with maintainers; [ periklis ];
|
||||
platforms = platforms.darwin;
|
||||
};
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ qtModule, stdenv, qtbase, qtdeclarative, pkg-config
|
||||
{ qtModule, lib, stdenv, qtbase, qtdeclarative, pkg-config
|
||||
, alsaLib, gstreamer, gst-plugins-base, libpulseaudio, wayland
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
qtModule {
|
||||
name = "qtmultimedia";
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
, lib, stdenv, fetchpatch
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
qtModule {
|
||||
name = "qtwebengine";
|
||||
|
||||
@@ -43,7 +43,7 @@ qtModule {
|
||||
|
||||
# QtWebKit overrides qmake's default_pre and default_post features,
|
||||
# so its custom qmake files must be found first at the front of QMAKEPATH.
|
||||
preConfigure = stdenv.lib.optionalString (!usingAnnulenWebkitFork) ''
|
||||
preConfigure = lib.optionalString (!usingAnnulenWebkitFork) ''
|
||||
QMAKEPATH="$PWD/Tools/qmake''${QMAKEPATH:+:}$QMAKEPATH"
|
||||
fixQtBuiltinPaths . '*.pr?'
|
||||
# Fix hydra's "Log limit exceeded"
|
||||
@@ -72,6 +72,6 @@ qtModule {
|
||||
preFixup = ''rm -rf "$(pwd)" && mkdir "$(pwd)" '';
|
||||
|
||||
meta = {
|
||||
maintainers = with stdenv.lib.maintainers; [ abbradar periklis ];
|
||||
maintainers = with lib.maintainers; [ abbradar periklis ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ darwin, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
||||
{ darwin, lib, stdenv, qtModule, qtdeclarative, qtwebengine }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
qtModule {
|
||||
name = "qtwebview";
|
||||
|
||||
Reference in New Issue
Block a user