diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-13T16·52+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-13T16·52+0000 |
commit | bd67b07f52c5a32fb8f3a4388d896ac01c0dbc42 (patch) | |
tree | cb645b599639e1b8840a6c1496952a42c879fe97 /scratch/deepmind/part_two | |
parent | a2a5a62836aa8cc629b7ba07bd125fabd6520cb2 (diff) |
Add default value for pkgs parameter in shell.nix
Commands like `nix-shell shell.nix` couldn't resolve `pkgs` without a default value. I'm unsure how I expected this to work previously...
Diffstat (limited to 'scratch/deepmind/part_two')
-rw-r--r-- | scratch/deepmind/part_two/shell.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scratch/deepmind/part_two/shell.nix b/scratch/deepmind/part_two/shell.nix index f1b02c4d2ed5..606dd7167f7c 100644 --- a/scratch/deepmind/part_two/shell.nix +++ b/scratch/deepmind/part_two/shell.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs ? import <nixpkgs> {}, ... }: pkgs.mkShell { buildInputs = with pkgs; [ |