about summary refs log tree commit diff
path: root/overrides
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
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')
-rw-r--r--overrides/buildGo.nix6
-rw-r--r--overrides/lispPackages/default.nix4
2 files changed, 6 insertions, 4 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; }
diff --git a/overrides/lispPackages/default.nix b/overrides/lispPackages/default.nix
index da8f3c893ae7..175c807ec212 100644
--- a/overrides/lispPackages/default.nix
+++ b/overrides/lispPackages/default.nix
@@ -1,8 +1,8 @@
 # One of Gemma's dependencies is missing in nixpkgs' Quicklisp
 # package set, it is overlaid locally here.
-{ pkgs, upstream, ... }:
+{ pkgs, ... }:
 
 import ./quicklisp.nix {
   inherit (pkgs) lib;
-  inherit (upstream) lispPackages;
+  inherit (pkgs.third_party.nixpkgs) lispPackages;
 }