Drop support for lorri
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.
This commit is contained in:
parent
47a0b45f5f
commit
6b224a9e31
20 changed files with 43 additions and 52 deletions
|
|
@ -1 +1 @@
|
|||
eval "$(lorri direnv)"
|
||||
source_up
|
||||
|
|
|
|||
3
go/dir-locals.nix
Normal file
3
go/dir-locals.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
let
|
||||
briefcase = import <briefcase> {};
|
||||
in briefcase.utils.nixBufferFromShell ./shell.nix
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
pkgs.mkShell {
|
||||
let
|
||||
pkgs = import <nixpkgs> {};
|
||||
in pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pkgs.go
|
||||
pkgs.goimports
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue