treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 20:21:58 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, buildEnv, git, fetchFromGitHub
{ lib, stdenv, buildEnv, git, fetchFromGitHub
, gitwebTheme ? false }:
let
@@ -15,13 +15,13 @@ let
sha256 = "17hypq6jvhy6zhh26lp3nyi52npfd5wy5752k6sq0shk4na2acqi";
};
in buildEnv {
name = "gitweb-${stdenv.lib.getVersion git}";
name = "gitweb-${lib.getVersion git}";
ignoreCollisions = true;
paths = stdenv.lib.optional gitwebTheme gitwebThemeSrc
paths = lib.optional gitwebTheme gitwebThemeSrc
++ [ "${git}/share/gitweb" ];
meta = git.meta // {
maintainers = with stdenv.lib.maintainers; [ gnidorah ];
maintainers = with lib.maintainers; [ gnidorah ];
};
}