emptyEnvironment
import { emptyEnvironment } from "https://garn.io/ts/v0.0.20/environment.ts";
The empty environment - this Environment
has nothing installed in it. It
can be easily extended using withDevTools
.
For example:
import * as pkgs from "https://garn.io/ts/v0.0.19/nixpkgs.ts";
// Create an environment with nothing but go and gopls installed:
emptyEnvironment.withDevTools([pkgs.go, pkgs.gopls])
const emptyEnvironment: Environment;