From bd67b07f52c5a32fb8f3a4388d896ac01c0dbc42 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Fri, 13 Mar 2020 16:52:40 +0000 Subject: 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... --- scratch/deepmind/part_two/shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scratch') 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 {}, ... }: pkgs.mkShell { buildInputs = with pkgs; [ -- cgit 1.4.1