cachix / devenv

Fast, Declarative, Reproducible, and Composable Developer Environments
https://devenv.sh
Apache License 2.0
3.47k stars 252 forks source link

syntax error, unexpected '!', expecting ';' when using example in the 'common patterns' page #1123

Closed SebastianCallh closed 3 weeks ago

SebastianCallh commented 3 weeks ago

Describe the bug Using the How to exclude packages from the container example in a newly generated project (using devenv init) causes "syntax error, unexpected '!', expecting ';'" when entering devenv shell. I was expecting the code example to successfully run and to be dropped in a shell with git and (in this example) the Haskell language server available.

To reproduce Download this gist, unzip, cd into the folder and run devenv shell. The stack trace it also in the gist.

Version devenv 1.0.2 (aarch64-darwin)

sandydoo commented 3 weeks ago

Thanks!