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, binutils , fetchurl, ncurses5 }:
{ lib, stdenv, binutils , fetchurl, ncurses5 }:
stdenv.mkDerivation rec {
version = "0.0.30";
@@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
write_entries write_tables entrystream; do
echo "Patching:" $exe
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $exe
patchelf --set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ncurses5 ]}" $exe
patchelf --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc ncurses5 ]}" $exe
done
cd ../
cp -R ./ $out
ln -s $out/tools $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A pluggable, (mostly) language-agnostic ecosystem for building tools that work with code";
longDescription = ''
The Kythe project was founded to provide and support tools and standards