jamiebrynes7 / obsidian-todoist-plugin

Materialize Todoist tasks in Obsidian notes
https://jamiebrynes7.github.io/obsidian-todoist-plugin/
MIT License
872 stars 66 forks source link

chore: fix biome configuration on NixOS #314

Closed jamiebrynes7 closed 2 months ago

jamiebrynes7 commented 2 months ago

This commit fixes two problems. The first is that the default linux binary doesn't work on NixOS. So we set BIOME_BINARY explicitly to the musl variant if we are on a x64 linux system.

The other side of the coin is the biomejs-vscode extension. This has an argument for the binary which is great! But the loading of the environment and the initialisation of the biomejs extension is racey, so its unreliable. To fix this, I've added a 'patch-vscode-settings' script to the shell which will fixup the workspace settings so this will work