diff --git a/shell.nix b/shell.nix
index 2c1c5123da656d34fafe0883b50ef49c578c6c8b..046f0990c183b0f725c94345a798773e8e1460d8 100644
--- a/shell.nix
+++ b/shell.nix
@@ -4,7 +4,7 @@ let
 in
 { pkgs ? nixpkgs }:
 pkgs.mkShell {
-  NIX_PATH = "nixpkgs=${nixpkgs.path}";
+  NIX_PATH = "nixpkgs=${pkgs.path}";
   buildInputs = [
     pkgs.morph
     stable2105.vagrant