Open danwdart opened 2 months ago
I think, what you need here is a config/hostname
folder/file (or, what is commonly used for obelisk
apps config/common/route
) that you would include in your APK build as an asset and import in your haskell code by directly reading it from said file.
Hi, I am having trouble importing environment variables via
System.Environment
- passing the correct env var to nix-build even with--impure
does not include the variable in the built apk file (I'm setting a hostname for instance). Is there something I'm missing? Do I need to provide it in another file or something?Thanks!