From 01bad09eedc97c1437b5bbe4910f6b3b13b23ca0 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 9 Dec 2019 02:40:48 +0000 Subject: refactor: Introduce new layout with nixpkgs in third_party 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. --- overrides/buildGo.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'overrides/buildGo.nix') diff --git a/overrides/buildGo.nix b/overrides/buildGo.nix index cbccfcec97..8d46321b6f 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; } -- cgit 1.4.1