b6e8389edd
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.
16 lines
326 B
Nix
16 lines
326 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
(haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [
|
|
hpkgs.servant-server
|
|
hpkgs.aeson
|
|
hpkgs.resource-pool
|
|
hpkgs.sqlite-simple
|
|
hpkgs.warp
|
|
hpkgs.cryptonite
|
|
hpkgs.uuid
|
|
hpkgs.envy
|
|
]))
|
|
];
|
|
}
|