Hi all
I want to include an activation snippet before the users
snippet in the activation script.
I know that there is the deps
field, but this can only be used to make sure a snippet is included after another.
I tried to update the deps
field of the users snippet, but this didn’t seem to work, the extra dependency that I injected was ignored.
Any pointers on how to do this? How to write an activation snippet and make sure that it appears before the users
snippet?
I tried several variations on the following code without success, it seems like the deps
lists are not being merged.
system.activationScripts = {
users.deps = [ "migrate_users" ];
migrate_users = {
text = <...>;
deps = [];
};
};