pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user