File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # To learn more about how to use Nix to configure your environment
2+ # see: https://developers.google.com/idx/guides/customize-idx-env
3+ { pkgs , ... } : {
4+ # Which nixpkgs channel to use.
5+ channel = "stable-23.11" ; # or "unstable"
6+
7+ # Use https://search.nixos.org/packages to find packages
8+ packages = [
9+ pkgs . just
10+ pkgs . gcc
11+ pkgs . haskell . compiler . ghc947
12+ pkgs . stack
13+ ] ;
14+
15+ # Sets environment variables in the workspace
16+ env = { } ;
17+ idx = {
18+ # Search for the extensions you want on https://open-vsx.org/ and use "publisher.id"
19+ extensions = [
20+ "haskell.haskell"
21+ ] ;
22+
23+ # Enable previews
24+ previews = {
25+ enable = false ;
26+ previews = {
27+ } ;
28+ } ;
29+
30+ # Workspace lifecycle hooks
31+ workspace = {
32+ # Runs when a workspace is first created
33+ onCreate = {
34+ # Example: install JS dependencies from NPM
35+ # npm-install = 'npm install';
36+ } ;
37+ onStart = {
38+ # Example: start a background task to watch and re-build backend code
39+ # watch-backend = "npm run watch-backend";
40+ } ;
41+ } ;
42+ } ;
43+ }
You can’t perform that action at this time.
0 commit comments