pkgs: remove all-rootfs to avoid huge evaluations

This commit is contained in:
Astro 2022-05-31 20:39:21 +02:00
parent 94083e1d1a
commit e05e9d43cd
1 changed files with 1 additions and 9 deletions

View File

@ -69,14 +69,6 @@ let
)
);
all-rootfs = with pkgs;
runCommand "all-rootfs" {} ''
mkdir -p $out
${lib.concatMapStrings (pkg: ''
ln -s ${pkg} $out/${pkg.name}
'') (builtins.attrValues rootfs-packages)}
'';
openwrt = import ./openwrt { inherit self nixpkgs system openwrt-imagebuilder; };
openwrt-images = builtins.foldl' (images: hostName:
@ -116,7 +108,7 @@ let
};
in
rootfs-packages // vm-packages // device-templates // openwrt-images // network-graphs // network-cypher-graphs // starlink // subnetplans // {
inherit all-rootfs export-openwrt-models export-config dns-slaves
inherit export-openwrt-models export-config dns-slaves
encrypt-secrets decrypt-secrets switch-to-production
vlan-report
;