hydra-node
Safe HaskellSafe-Inferred
LanguageGHC2021

Hydra.Node.EmbedTH

Description

Template haskell expression to embed executables.

Synopsis

Documentation

embedExecutable :: String -> String -> Q Exp Source #

Embed an executable selected by an environment variable, falling back to PATH for native development builds. Cross builds supply the target executable explicitly, independently of the tools running on the build machine.