dotenv-hs icon indicating copy to clipboard operation
dotenv-hs copied to clipboard

Load environment variables from dotenv files for Haskell

Results 8 dotenv-hs issues
Sort by recently updated
recently updated
newest added

Hi there, I maintain [purescript-dotenv](https://github.com/nsaunders/purescript-dotenv) which is essentially a direct port of this library (albeit a bit dated at this point). I have had an eye on the `loadFile` return...

I noticed that the last release included the `dotenv` binary but the file isn't static: ``` $ tar xf dotenv-linux-x86_64-static.tar.gz $ file dotenv dotenv: ELF 64-bit LSB executable, x86-64, version...

bug

Currently, the release workflow uses the version `2.4` of Cabal. We would want to update it to use `3.4` and update the commands to build the packages accordingly.

This makes it so that we prefer latest than earlier occurrences of variable settings. Before the change ----------------- $ cat > my_script.hs #!/bin/bash echo $FOO echo $GOO ^D $ cat...

See: ``` $ cat > my_script.hs #!/bin/bash echo $FOO echo $GOO ^D ``` ``` $ cat > .env #!/bin/sh FOO=first GOO=second FOO=third ^D ``` ``` $ dotenv -f.env ./my_script.hs first...

`dotenv` is meant to be used as an executable, therefore, in order to simplify the installation process, we could provide pre-compiled binaries so end-users could just download and copy the...

Here is an .env file I used to illustrate the potential issue: ``` TEST1="a\nb" TEST2='a\nb' TEST3=a\nb TEST4="a\\nb" ``` Now, when I run `parseFile "testenv"` in `ghci`, I get the following...

bug

The current implementation of the Dotenv Command Line Interface (CLI) requires users to provide multiple flags in order to execute a program with specific environment variables. This can result in...

feature-request
Good first issue