Visual Studio Code: Difference between revisions
imported>Jonringer Add information on using fhs variant of vscode |
imported>Jonringer m Minor grammar edits |
||
Line 72: | Line 72: | ||
{{note| Only available in nixpkgs-unstable or 21.05 and after }} | {{note| Only available in nixpkgs-unstable or 21.05 and after }} | ||
In [https://github.com/NixOS/nixpkgs/pull/99968 #99968], | In [https://github.com/NixOS/nixpkgs/pull/99968 #99968], vscode-fhs and vscodium-fhs packages were added in which the editors launch inside of a [https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard FHS] compliant chroot environment using buildFHSUserEnv. This reintroduces directories such as /bin, /lib/, and /usr, which allows for extensions which ship pre-compiled binaries to work with little to no additional nixification. | ||
{{note| From a philosophical view, use of buildFHSUserEnv allows for ease-of-use at the cost of some impurity and non-reproducibility. If you prioritize purely-declarative configurations, please stay with the above guidance.}} | {{note| From a philosophical view, use of buildFHSUserEnv allows for ease-of-use at the cost of some impurity and non-reproducibility. If you prioritize purely-declarative configurations, please stay with the above guidance.}} |