about summary refs log tree commit diff
path: root/website
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-27T10·47+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-27T10·59+0000
commit6b224a9e314b6faedd25fc5361a5bb6ac8c3e0a3 (patch)
treeac2eb6daf0d73d4b98a032feac679f5b5840cdd9 /website
parent47a0b45f5f5620aa683f90186008526b8a4c6d68 (diff)
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.
Diffstat (limited to 'website')
-rw-r--r--website/blog/.envrc1
-rw-r--r--website/goals/dir-locals.nix3
-rw-r--r--website/sandbox/nut-score/shell.nix8
3 files changed, 3 insertions, 9 deletions
diff --git a/website/blog/.envrc b/website/blog/.envrc
index b80e28b4b815..1abb058f60d5 100644
--- a/website/blog/.envrc
+++ b/website/blog/.envrc
@@ -1,2 +1 @@
 source_up
-eval "$(lorri direnv)"
diff --git a/website/goals/dir-locals.nix b/website/goals/dir-locals.nix
new file mode 100644
index 000000000000..498f4b5055f8
--- /dev/null
+++ b/website/goals/dir-locals.nix
@@ -0,0 +1,3 @@
+let
+  briefcase = import <briefcase> {};
+in briefcase.utils.nixBufferFromShell ./shell.nix
diff --git a/website/sandbox/nut-score/shell.nix b/website/sandbox/nut-score/shell.nix
deleted file mode 100644
index 501fc07c8fdc..000000000000
--- a/website/sandbox/nut-score/shell.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-let
-  pkgs = import <nixpkgs> {};
-in pkgs.mkShell {
-  name = "nut-score";
-  buildInputs = with pkgs; [
-    yarn
-  ];
-}