From 124d26210bf850d0eb7a627a1f09fbafaeed702a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 19 Dec 2019 15:35:03 +0000 Subject: chore(build): Add package required for buildGo at the top-level This is required to maintain buildGo compatibility with non-depot setups. --- default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'default.nix') diff --git a/default.nix b/default.nix index 4c54d15646..38de1be0de 100644 --- a/default.nix +++ b/default.nix @@ -70,4 +70,13 @@ in fix(self: { runCommand symlinkJoin writeText; -}) +} + +# These packages must be exposed for compatibility with buildGo. +# +# Despite buildGo being tracked in this tree, I want it to be possible +# for external users to import it with the default nixpkgs layout. +// { + inherit (self.third_party) go ripgrep; +} +) -- cgit 1.4.1