diff options
Diffstat (limited to 'users/wpcarro/website/sandbox/learnpianochords/src/server/default.nix')
-rw-r--r-- | users/wpcarro/website/sandbox/learnpianochords/src/server/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/users/wpcarro/website/sandbox/learnpianochords/src/server/default.nix b/users/wpcarro/website/sandbox/learnpianochords/src/server/default.nix new file mode 100644 index 000000000000..87de69cbd627 --- /dev/null +++ b/users/wpcarro/website/sandbox/learnpianochords/src/server/default.nix @@ -0,0 +1,28 @@ +let + briefcase = import <briefcase> {}; +in briefcase.buildHaskell.program { + name = "server"; + srcs = builtins.path { + path = ./.; + name = "LearnPianoChords-server-src"; + }; + ghcExtensions = [ + "OverloadedStrings" + "NoImplicitPrelude" + "RecordWildCards" + "TypeApplications" + ]; + deps = hpkgs: with hpkgs; [ + servant-server + aeson + wai-cors + warp + jwt + unordered-containers + base64 + http-conduit + rio + envy + req + ]; +} |