add missing pkgs prefix to examples

This commit is contained in:
Kyle Gentle 2020-12-13 13:39:11 -05:00
parent f70ffaa7ef
commit 2caeb26814

View file

@ -97,7 +97,7 @@ The `env` attribute of the attribute set created by `mkPoetryEnv` contains a she
```nix
{ pkgs ? import <nixpkgs> {} }:
let
myAppEnv = poetry2nix.mkPoetryEnv {
myAppEnv = pkgs.poetry2nix.mkPoetryEnv {
projectDir = ./.;
editablePackageSources = {
my-app = ./src;
@ -111,7 +111,7 @@ For a shell environment including external dependencies, pass the app environmen
```nix
{ pkgs ? import <nixpkgs> {} }:
let
myAppEnv = poetry2nix.mkPoetryEnv {
myAppEnv = pkgs.poetry2nix.mkPoetryEnv {
projectDir = ./.;
editablePackageSources = {
my-app = ./src;