6b224a9e31
Lorri does not cleanly integrate with my corporate device, which cannot run NixOS. To expose dependencies to Emacs buffers, I will use nix-buffer.el, which reads its values from dir-locals.nix. To easily expose dependencies from my existing shell.nix files into dir-locals.nix, I wrote a Nix utility function.
9 lines
119 B
Nix
9 lines
119 B
Nix
let
|
|
pkgs = import <nixpkgs> {};
|
|
in pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
go
|
|
goimports
|
|
godef
|
|
];
|
|
}
|