Revert "Fix: forward meta attributes in flake-parts module"

This reverts commit e7c6333e06.

The propagated `self` attribute can be an error in non `flake-parts`
modules.
This commit is contained in:
a-kenji
2024-08-07 12:34:03 +02:00
committed by kenji
parent 40ea12610c
commit 10f7509a5f
4 changed files with 29 additions and 26 deletions

View File

@@ -15,13 +15,10 @@ in
{
test_only_required =
let
config = evalClan {
meta.name = "test";
imports = [ ./module.nix ];
};
config = evalClan { directory = ./.; };
in
{
expr = config.inventory ? meta;
expr = config.pkgsForSystem null == null;
expected = true;
};
@@ -96,9 +93,10 @@ in
in
{
expr = result.clanInternals.meta;
expectedError = {
type = "ThrownError";
msg = "";
expected = {
description = "description";
icon = "icon";
name = "superclan";
};
};