diff options
Diffstat (limited to 'scratch/deepmind')
-rw-r--r-- | scratch/deepmind/part_two/.envrc | 1 | ||||
-rw-r--r-- | scratch/deepmind/part_two/dir-locals.nix | 3 | ||||
-rw-r--r-- | scratch/deepmind/part_two/shell.nix | 6 |
3 files changed, 6 insertions, 4 deletions
diff --git a/scratch/deepmind/part_two/.envrc b/scratch/deepmind/part_two/.envrc index b80e28b4b815..1abb058f60d5 100644 --- a/scratch/deepmind/part_two/.envrc +++ b/scratch/deepmind/part_two/.envrc @@ -1,2 +1 @@ source_up -eval "$(lorri direnv)" diff --git a/scratch/deepmind/part_two/dir-locals.nix b/scratch/deepmind/part_two/dir-locals.nix new file mode 100644 index 000000000000..498f4b5055f8 --- /dev/null +++ b/scratch/deepmind/part_two/dir-locals.nix @@ -0,0 +1,3 @@ +let + briefcase = import <briefcase> {}; +in briefcase.utils.nixBufferFromShell ./shell.nix diff --git a/scratch/deepmind/part_two/shell.nix b/scratch/deepmind/part_two/shell.nix index 606dd7167f7c..65de884696d0 100644 --- a/scratch/deepmind/part_two/shell.nix +++ b/scratch/deepmind/part_two/shell.nix @@ -1,6 +1,6 @@ -{ pkgs ? import <nixpkgs> {}, ... }: - -pkgs.mkShell { +let + pkgs = import <nixpkgs> {}; +in pkgs.mkShell { buildInputs = with pkgs; [ nodejs python3 |