mirror of
https://github.com/numtide/flake-utils.git
synced 2024-11-29 23:30:00 +03:00
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:
parent
3982c9903e
commit
5466c5bbec
@ -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;
|
||||
}
|
||||
//
|
||||
(
|
||||
|
Loading…
Reference in New Issue
Block a user