blob: c85ef72a9bb5551ee42367d67b5c9da1e773b7b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ system ? builtins.currentSystem, ... }@args:
with (import <nixpkgs> { inherit system; }).lib;
{
machines = mapAttrsRecursiveCond (m: !(m ? build)) (path: attrs:
attrs.build.config.system.build.toplevel
) (import ./machines { inherit system; });
pkgs = import ./pkgs {
pkgs = import <nixpkgs> args;
};
# Inherit upstream lib until we have our own lib.
lib = import <nixpkgs/lib>;
}
|