From c1deced6110cc77b26a6072fee9b9a0ae16be700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Sun, 11 Apr 2021 03:13:48 +0100 Subject: [PATCH] Document how the shell *should* be built Currently parcel doesn't support NODE_PATH, so this can't actually be used. Need to push an issue upstream. --- flake.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/flake.nix b/flake.nix index efab4df..27c5bc4 100644 --- a/flake.nix +++ b/flake.nix @@ -53,6 +53,19 @@ typescript-language-server ] ++ packages.nodeEnv.shell.buildInputs; }; + + # TODO: This would be the ideal. Sadly, parcel isn't smart + # enough to pull its plugins from $NODE_PATH. + # + # + # devShell = packages.nodeEnv.shell.override { + # buildInputs = with prev; with nodePackages; [ + # node2nix + + # prettier + # typescript-language-server + # ]; + # }; }; }; };