From 49c8d8371ca17207157058b4daecded67ade1e5f Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 2 Feb 2022 15:20:54 +0300 Subject: [PATCH] fix(views/kit): Export niv-pinned source hashes These are required for standalone imports of the kit now. Change-Id: Ie3c7218a606b1ba9cf274bb80b314a7889d8ede9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5189 Tested-by: BuildkiteCI Autosubmit: tazjin Reviewed-by: ezemtsov --- views/kit/default.nix | 7 ++++++- views/kit/workspace.josh | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/views/kit/default.nix b/views/kit/default.nix index 7dd291019..ba46b719e 100644 --- a/views/kit/default.nix +++ b/views/kit/default.nix @@ -6,7 +6,12 @@ # it simple. Adding it may be useful if we set up test scaffolding # around the exported workspace. -{ pkgs ? import ./nixpkgs { depotOverlays = false; }, ... }: +{ pkgs ? (import ./nixpkgs { + depotOverlays = false; + depot.third_party.sources = import ./sources { }; + }) +, ... +}: pkgs.lib.fix (self: { buildGo = import ./buildGo { inherit pkgs; }; diff --git a/views/kit/workspace.josh b/views/kit/workspace.josh index 33ca3e22e..23a322a3e 100644 --- a/views/kit/workspace.josh +++ b/views/kit/workspace.josh @@ -5,4 +5,7 @@ besadii = :/ops/besadii ::buildkite/ ::readTree/ ] -nixpkgs = :/third_party/nixpkgs +:/third_party:[ + ::nixpkgs/ + ::sources/ +]