Drop support for dir-locals.nix, <nixpkgs>, etc.
In the spirit of Marie Kondo, I'm tidying up!
TL;DR:
- Prefer .envrc `use_nix` and delete all dir-locals.nix files
- Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer
referencing each with briefcase.third_party.{pkgs,unstable,depot}
- Delete nixBufferFromShell function since I was only using that in
dir-locals.nix files
This commit is contained in:
parent
51ec9e0d88
commit
0c71fc9d1d
55 changed files with 102 additions and 118 deletions
|
|
@ -59,7 +59,7 @@ This function was taken from @tazjin's depot and adapted for my monorepo.
|
|||
(interactive "sAttribute: ")
|
||||
(lexical-let* ((outbuf (get-buffer-create (format "*briefcase-out/%s*" attribute)))
|
||||
(errbuf (get-buffer-create (format "*briefcase-errors/%s*" attribute)))
|
||||
(expression (format "let depot = import <depot> {}; briefcase = import <briefcase> {}; in depot.nix.buildLisp.sbclWith [ briefcase.%s ]" attribute))
|
||||
(expression (format "let briefcase = import <briefcase> {}; in briefcase.third_party.depot.nix.buildLisp.sbclWith [ briefcase.%s ]" attribute))
|
||||
(command (list "nix-build" "-E" expression)))
|
||||
(message "Acquiring Lisp for <briefcase>.%s" attribute)
|
||||
(make-process :name (format "nix-build/%s" attribute)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue