From 375c4a4c857a5a5c56a9021ed721752288a3a357 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 14 Aug 2020 14:57:27 +0100 Subject: Restore shell.nix I believe `use_nix` looks for shell.nix and then default.nix files, so I was wrong earlier when I said that I could get rid of shell.nix files altogether. I need to learn more about `use_nix` and getting environments from default.nix files. --- zoo/shell.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 zoo/shell.nix diff --git a/zoo/shell.nix b/zoo/shell.nix new file mode 100644 index 000000000000..04655ada8830 --- /dev/null +++ b/zoo/shell.nix @@ -0,0 +1,10 @@ +let + briefcase = import /home/wpcarro/briefcase {}; +in briefcase.buildHaskell.shell { + deps = hpkgs: with hpkgs; [ + servant-server + aeson + warp + rio + ]; +} -- cgit 1.4.1