Skip to content

Instantly share code, notes, and snippets.

@danderson
Created January 1, 2021 12:21
Show Gist options
  • Save danderson/fb7ee9ca3a814413cfae9f86d595cb4d to your computer and use it in GitHub Desktop.
Save danderson/fb7ee9ca3a814413cfae9f86d595cb4d to your computer and use it in GitHub Desktop.
config = {
# Inject the flakes parameter into the container's evaluation
# environment. Because of the way declarative containers work,
# they don't get evaluated with the full module context of their
# parent, and don't provide a handy place to inject
# this. Fortunately, doing the obvious thing of "smash the value
# into the module by hand" seems to work correctly, muahahah.
_module.args.flakes = flakes;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment