Something went wrong. Try again.
small gleam coding and (not yet) persistent agent daemon with a detachable cli forked from okami.mom/albedo
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546_: { perSystem = { config, lib, pkgs, beamPackages, gleam, ... }: { devShells.default = pkgs.mkShell { packages = (with pkgs; [ go gopls python311 pre-commit ruff ty cargo rustc nodejs ripgrep direnv ]) ++ [ gleam beamPackages.erlang (beamPackages.rebar3WithPlugins {plugins = [beamPackages.pc];}) config.packages.albedo-lint config.packages.chrome-headless-shell config.packages.tg ] ++ lib.attrValues config.treefmt.build.programs; # gleam fetches git dependencies under build/packages. A git command there # that finds no repository of its own walks up to this checkout's .git, # which every worktree shares, and once rewrote its origin and core.bare. # Git stops looking at build/. shellHook = '' if top="$(git rev-parse --show-toplevel 2>/dev/null)"; then export GIT_CEILING_DIRECTORIES="$top/build''${GIT_CEILING_DIRECTORIES:+:$GIT_CEILING_DIRECTORIES}" fi ''; }; };}