chore: Rename pkgs->depot in all Nix file headers
This commit is contained in:
parent
5d9d84f4cf
commit
4bbbb58cb5
113 changed files with 318 additions and 349 deletions
6
third_party/cgit/default.nix
vendored
6
third_party/cgit/default.nix
vendored
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{ depot, ... }:
|
||||
|
||||
let
|
||||
inherit (pkgs.third_party) stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
||||
inherit (depot.third_party) stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "cgit";
|
||||
version = "master";
|
||||
|
|
@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
|
|||
# git version).
|
||||
preBuild = ''
|
||||
rm -rf git # remove submodule dir ...
|
||||
cp -r --no-preserve=ownership,mode ${pkgs.third_party.git.src} git
|
||||
cp -r --no-preserve=ownership,mode ${depot.third_party.git.src} git
|
||||
makeFlagsArray+=(prefix="$out" CGIT_SCRIPT_PATH="$out/cgit/")
|
||||
'';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue