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,7 @@
initPath: { pkgs, ... } @ args:
# TODO(tazjin): if there's a default.nix, keep traversing but don't import .nix files?
# TODO(tazjin): avoid {} by only calling functions *after* checking what they are
args: initPath:
let
inherit (builtins)