Merge pull request #503 from madjar/fix-flake

Fix `nix (build|shell) mach-nix#gen`
This commit is contained in:
DavHau 2022-08-17 22:17:12 +02:00 committed by GitHub
commit b5614640bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ let
};
attrs_list = map (n:
{ name = n; value = (gen attr (selected ++ [n])); }
) names;
) (filter (n: n!= "meta") names);
drv = if attr == "" then pyEnvBase else pyEnvBase."${attr}";
pyEnv = drv.overrideAttrs (oa: {
passthru =