git.iko.soy/rowtype-yoga/purescript-protobuf
on master help sign in
better PURS_IDE_SOURCES
commit5c1f039385a1ad7686899d3ffc8d6d625a57364c authorJames Brock <jamesbrock@gmail.com> dateThu 29 Dec 2022, 19:12 (4 years ago) parent1af27dd
1 file changed+2−2
flake.nix+2−2
flake.nix+2−2
@@ -118,6 +118,7 @@
118118 shellHook = ''
119119 source <(spago --bash-completion-script `which spago`)
120120 source <(node --completion-bash)
121+ export PURS_IDE_SOURCES=$(${easy-purescript-nix.spago}/bin/spago -x spago-dev.dhall sources)
121122 echo "PureScript Protobuf development environment"
122123 protoc --version
123124 echo -n "purs "
@@ -138,8 +139,7 @@
138139 # https://github.com/nwolverson/vscode-ide-purescript/issues/104
139140 # https://github.com/nwolverson/purescript-language-server/pull/75
140141 # https://github.com/nwolverson/purescript-language-server/issues/175
141− # PURS_IDE_SOURCES = "$(${easy-purescript-nix.spago}/bin/spago -x spago-dev.dhall sources)";
142− PURS_IDE_SOURCES = "'src/**/*.purs plugin/**/*.purs test/**/*.purs conformance/**/*.purs .spago/**/*.purs'";
142+ # PURS_IDE_SOURCES = "'src/**/*.purs plugin/**/*.purs test/**/*.purs conformance/**/*.purs .spago/**/*.purs'";
143143 };
144144 packages = {
145145 inherit protoc-gen-purescript;