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:
parent
a2a5a62836
commit
bd67b07f52
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs ? import <nixpkgs> {}, ... }:
|
||||
|
||||
pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
|
|
Loading…
Reference in a new issue