diff --git a/README.md b/README.md index bd981bc..43dfe9c 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Either add `shell.nix` or a `default.nix` to the project directory: { pkgs ? import {}}: pkgs.mkShell { - nativeBuildInputs = [ pkgs.hello ]; + packages = [ pkgs.hello ]; } ``` diff --git a/templates/flake/flake.nix b/templates/flake/flake.nix index 30be214..3024325 100644 --- a/templates/flake/flake.nix +++ b/templates/flake/flake.nix @@ -8,8 +8,7 @@ pkgs = nixpkgs.legacyPackages.${system}; in { devShells.default = pkgs.mkShell { - nativeBuildInputs = [ pkgs.bashInteractive ]; - buildInputs = [ ]; + packages = [ pkgs.bashInteractive ]; }; }); }