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...
This commit is contained in:
William Carroll 2020-03-13 16:52:40 +00:00
parent a2a5a62836
commit bd67b07f52

View file

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs ? import <nixpkgs> {}, ... }:
pkgs.mkShell {
buildInputs = with pkgs; [