diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-21T12·47+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-21T13·54+0000 |
commit | 4bbbb58cb537014dd8b0b3c3c560c039ac57ad89 (patch) | |
tree | ffd6c2c6758f655801ea6497b3dd9d2f2d04ebc9 /third_party/cgit | |
parent | 5d9d84f4cfdbed049e71ce6f15bb1ad8650f7acf (diff) |
chore: Rename pkgs->depot in all Nix file headers r/559
Diffstat (limited to 'third_party/cgit')
-rw-r--r-- | third_party/cgit/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/cgit/default.nix b/third_party/cgit/default.nix index 7b1dfa893906..3e58816fc7df 100644 --- a/third_party/cgit/default.nix +++ b/third_party/cgit/default.nix @@ -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/") ''; |