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
@@ -13,7 +13,7 @@ let mkPrefetchScript = tool: src: deps:
installPhase = ''
install -vD ${src} $out/bin/$name;
wrapProgram $out/bin/$name \
--prefix PATH : ${stdenv.lib.makeBinPath (deps ++ [ gnused nix ])} \
--prefix PATH : ${lib.makeBinPath (deps ++ [ gnused nix ])} \
--set HOME /homeless-shelter
'';
@@ -22,7 +22,7 @@ let mkPrefetchScript = tool: src: deps:
meta = with lib; {
description = "Script used to obtain source hashes for fetch${tool}";
maintainers = with maintainers; [ bennofs ];
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
};
in rec {
@@ -40,7 +40,7 @@ in rec {
meta = with lib; {
description = "Collection of all the nix-prefetch-* scripts which may be used to obtain source hashes";
maintainers = with maintainers; [ bennofs ];
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
};
}