pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, libunwind, buildPackages }:
|
||||
{ lib, stdenv, fetchurl, perl, libunwind, buildPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "strace";
|
||||
@@ -12,13 +12,13 @@ stdenv.mkDerivation rec {
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
buildInputs = [ perl.out ] ++ stdenv.lib.optional libunwind.supportsHost libunwind; # support -k
|
||||
buildInputs = [ perl.out ] ++ lib.optional libunwind.supportsHost libunwind; # support -k
|
||||
|
||||
postPatch = "patchShebangs --host strace-graph";
|
||||
|
||||
configureFlags = [ "--enable-mpers=check" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://strace.io/";
|
||||
description = "A system call tracer for Linux";
|
||||
license = with licenses; [ lgpl21Plus gpl2Plus ]; # gpl2Plus is for the test suite
|
||||
|
||||
Reference in New Issue
Block a user