simpleFlake: use only legacyPackages (#23)

Since Flake resolves both namespaces, and legacyPackages is more
forgiving, use that and not deal with the subtle differences.
This commit is contained in:
Jonas Chevalier
2021-02-28 11:55:58 +00:00
committed by GitHub
parent 3982c9903e
commit 5466c5bbec

View File

@@ -52,10 +52,8 @@ let
packages = pkgs.${name} or { };
in
{
# Use the legacy packages since it's more forgiving.
legacyPackages = packages;
# Flake expects a flat attrset containing only derivations as values
packages = lib.flattenTree packages;
}
//
(