about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/kit/default.nix7
-rw-r--r--views/kit/workspace.josh5
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/
+]