blob: f2ea79e2faa913b90fa511e850ab7ad5cfed8ed9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ system ? builtins.currentSystem, ... }@args:
with (import (import ./nixpkgs-path.nix) { 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 (import ./nixpkgs-path.nix) args;
};
# Inherit upstream lib until we have our own lib.
lib = import "${import ./nixpkgs-path.nix}/lib";
}
|