Read env variables using envy library

Using my dear friend's, dmjio's, excellent library, envy -- to read and parse
variables from the system environment.

I added and git-ignored the .envrc file that contains API secrets. I'm using
Envy to read these values, so that I don't hard-code these values into the
source code.
This commit is contained in:
William Carroll 2020-07-30 13:58:50 +01:00
parent 385164c6af
commit b6e8389edd
5 changed files with 33 additions and 13 deletions

View file

@ -10,6 +10,7 @@ in pkgs.mkShell {
hpkgs.warp
hpkgs.cryptonite
hpkgs.uuid
hpkgs.envy
]))
];
}