You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: