Skip to content

Raw lua string? #532

Answered by NotAShelf
justDeeevin asked this question in Q&A
Jan 7, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Yes, most options allow (if viable) a lua string:

Assuming, in setupOpts, you set option foo:

foo = lib.mkLuaInline ''
	  	function()
        	print("hi")
      	end
	  '';

will be treated as a raw lua string.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@justDeeevin
Comment options

@NotAShelf
Comment options

@justDeeevin
Comment options

Answer selected by justDeeevin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants