diff options
author | Vincent Ambo <mail@tazj.in> | 2022-02-02T12·20+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-02-02T14·28+0000 |
commit | 49c8d8371ca17207157058b4daecded67ade1e5f (patch) | |
tree | 0db0a56abc679fe7120b39e21069d8197a61d397 /views | |
parent | bb140e16a2d44bbfe96911f29f1b6c5ef4947b85 (diff) |
fix(views/kit): Export niv-pinned source hashes r/3744
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 <tazjin@tvl.su> Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
Diffstat (limited to 'views')
-rw-r--r-- | views/kit/default.nix | 7 | ||||
-rw-r--r-- | 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 7dd291019911..ba46b719e286 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 33ca3e22e611..23a322a3e6de 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/ +] |