about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 7dd2910199..ba46b719e2 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 33ca3e22e6..23a322a3e6 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/
+]