chore(third_party/cgit): use lib instead of stdenv.lib
Getting `lib` from `stdenv.lib` is deprecated, and throws warnings. Change-Id: Ic925818c1b5a67d15d6d40ad784554328cd603e0 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2751 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI
This commit is contained in:
parent
387b8c83bf
commit
ab7e752b4a
1 changed files with 6 additions and 5 deletions
11
third_party/cgit/default.nix
vendored
11
third_party/cgit/default.nix
vendored
|
@ -1,8 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (depot.third_party) stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
inherit (depot.third_party) lib stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
||||||
in stdenv.mkDerivation rec {
|
in
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "cgit";
|
pname = "cgit";
|
||||||
version = "master";
|
version = "master";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
@ -30,8 +31,8 @@ in stdenv.mkDerivation rec {
|
||||||
homepage = https://git.zx2c4.com/cgit/about/;
|
homepage = https://git.zx2c4.com/cgit/about/;
|
||||||
repositories.git = git://git.zx2c4.com/cgit;
|
repositories.git = git://git.zx2c4.com/cgit;
|
||||||
description = "Web frontend for git repositories";
|
description = "Web frontend for git repositories";
|
||||||
license = stdenv.lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
maintainers = with stdenv.lib.maintainers; [ bjornfor ];
|
maintainers = with lib.maintainers; [ bjornfor ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue