Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[clever@amd-nixos:~/iohk/iohk-nixops]$ nix-instantiate --eval --argstr arg2 bar --argstr arg1 foo foo.nix -A attr1.attr2 --argstr arg3 baz
"foobarbaz"
[clever@amd-nixos:~/iohk/iohk-nixops]$ cat foo.nix
{ arg1 }: {
attr1 = { arg2 }: {
attr2 = { arg3 }: "${arg1}${arg2}${arg3}";
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.