pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
{stdenv, which, coreutils, perl, fetchurl, perlPackages, makeWrapper, diffutils , writeScriptBin, bzip2}:
{lib, stdenv, which, coreutils, perl, fetchurl, perlPackages, makeWrapper, diffutils , writeScriptBin, bzip2}:
# quick usage:
# storeBackup.pl --sourceDir /home/user --backupDir /tmp/my_backup_destination
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
for p in $out/bin/*
do wrapProgram "$p" \
--prefix PERL5LIB ":" "${perlPackages.DBFile}/${perlPackages.perl.libPrefix}" \
--prefix PATH ":" "${stdenv.lib.makeBinPath [ which bzip2 ]}"
--prefix PATH ":" "${lib.makeBinPath [ which bzip2 ]}"
done
patchShebangs $out
@@ -104,8 +104,8 @@ stdenv.mkDerivation rec {
meta = {
description = "A backup suite that stores files on other disks";
homepage = "https://savannah.nongnu.org/projects/storebackup";
license = stdenv.lib.licenses.gpl3Plus;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = stdenv.lib.platforms.linux;
license = lib.licenses.gpl3Plus;
maintainers = [lib.maintainers.marcweber];
platforms = lib.platforms.linux;
};
}