depot: fix up things
This commit is contained in:
parent
75aef1e3ca
commit
847e827d0a
3 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@ let
|
|||
pkgs = depot.third_party.nixpkgs;
|
||||
lib = pkgs.lib;
|
||||
prefixAttrs = prefix: lib.mapAttrsToList (name: value: { name = "${prefix}-${name}"; path = value; });
|
||||
ciMachines = prefixAttrs "machine" depot.ops.nixos;
|
||||
ciMachines = prefixAttrs "machine" depot.ops.nixos.systems;
|
||||
ciPackages = prefixAttrs "pkg" depot.nix.pkgs;
|
||||
ciDocker = prefixAttrs "docker" ((import ./docker-images.nix).images);
|
||||
|
||||
|
|
|
@ -23,5 +23,6 @@ let
|
|||
systemDrvs = mapAttrs (_: sys: sys.config.system.build.toplevel) evaledSystems;
|
||||
systemTailscaleIPs = lib.mapAttrs' (n: v: lib.nameValuePair v [n]) (lib.filterAttrs (n: v: v != null) (mapAttrs (_: sys: sys.config.my.ip.tailscale) evaledSystems));
|
||||
in systemDrvs // {
|
||||
systems = systemDrvs;
|
||||
tailscaleIPs = systemTailscaleIPs;
|
||||
}
|
||||
|
|
2
third_party/default.nix
vendored
2
third_party/default.nix
vendored
|
@ -46,5 +46,5 @@ rec {
|
|||
readTree = import ./tvl/nix/readTree {};
|
||||
gopkgs = readTree ch ./gopkgs;
|
||||
|
||||
crate2nix = import "${crate2nixSrc}" {};
|
||||
crate2nix = import "${crate2nixSrc}" { pkgs = ch.depot.pkgs; };
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue