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.
This commit is contained in:
Vincent Ambo 2019-12-09 02:40:48 +00:00
parent 688233acac
commit 01bad09eed
10 changed files with 61 additions and 49 deletions

View file

@ -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; }

View file

@ -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;
}