@@ -566,7 +566,7 @@ running `nix-shell` with the following `shell.nix`
566566 with import <nixpkgs> {};
567567
568568 (python3.buildEnv.override {
569− extraLibs = with python3Packages; [ numpy requests ];
569+ extraLibs = with python3Packages; [ numpy requests2 ];
570570 }).env
571571
572572will drop you into a shell where Python will have the
@@ -605,7 +605,7 @@ attribute. The `shell.nix` file from the previous section can thus be also writt
605605
606606 with import <nixpkgs> {};
607607
608− (python33.withPackages (ps: [ps.numpy ps.requests])).env
608+ (python33.withPackages (ps: [ps.numpy ps.requests2])).env
609609
610610In contrast to `python.buildEnv`, `python.withPackages` does not support the more advanced options
611611such as `ignoreCollisions = true` or `postBuild`. If you need them, you have to use `python.buildEnv`.