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

This commit is contained in:
Ben Siraphob
2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, nixosTests, fetchurl, oniguruma }:
{ lib, stdenv, nixosTests, fetchurl, oniguruma }:
stdenv.mkDerivation rec {
pname = "jq";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
"--mandir=\${man}/share/man"
]
# jq is linked to libjq:
++ stdenv.lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
++ lib.optional (!stdenv.isDarwin) "LDFLAGS=-Wl,-rpath,\\\${libdir}";
doInstallCheck = true;
installCheckTarget = "check";
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
passthru.tests = { inherit (nixosTests) jq; };
meta = with stdenv.lib; {
meta = with lib; {
description = "A lightweight and flexible command-line JSON processor";
license = licenses.mit;
maintainers = with maintainers; [ raskin globin ];