about summary refs log tree commit diff
path: root/overrides/buildGo.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-09T02·40+0000
committerVincent Ambo <tazjin@google.com>2019-12-09T02·40+0000
commit01bad09eedc97c1437b5bbe4910f6b3b13b23ca0 (patch)
tree212cf4c82edfda475bba67bafbd4e793c28e24eb /overrides/buildGo.nix
parent688233acac967178588943061992455b91cbda03 (diff)
refactor: Introduce new layout with nixpkgs in third_party r/100
This is not the final layout yet, but makes it so that my top-level
attribute set is no longer overlaid into nixpkgs itself.

This is useful for other people who are importing my monorepo.
Diffstat (limited to 'overrides/buildGo.nix')
-rw-r--r--overrides/buildGo.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/overrides/buildGo.nix b/overrides/buildGo.nix
index cbccfcec976d..8d46321b6f5c 100644
--- a/overrides/buildGo.nix
+++ b/overrides/buildGo.nix
@@ -1,4 +1,6 @@
-import "${builtins.fetchGit {
+{ pkgs, ... }:
+
+(import "${builtins.fetchGit {
   url = "https://github.com/tazjin/buildGo.nix";
   rev = "28e587b348a8aaa7af00a004c05286af9d35ca9a";
-}}/buildGo.nix"
+}}/buildGo.nix") { pkgs = pkgs.third_party.nixpkgs; }