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:
parent
385164c6af
commit
b6e8389edd
5 changed files with 33 additions and 13 deletions
|
|
@ -10,6 +10,7 @@ in pkgs.mkShell {
|
|||
hpkgs.warp
|
||||
hpkgs.cryptonite
|
||||
hpkgs.uuid
|
||||
hpkgs.envy
|
||||
]))
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue