From ee074c44d1a0c81bbd55d1dbfb6348ebec0e158f Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Mon, 5 May 2025 21:35:19 +0200 Subject: [PATCH] Add bashInteractive to nix dev shell --- flake.nix | 2 +- shell.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c1fae92..e3a119d 100644 --- a/flake.nix +++ b/flake.nix @@ -31,7 +31,7 @@ }; }; - devShells = pkgs.callPackages ./shell.nix {inherit packageToml self';}; + devShells = pkgs.callPackages ./shell.nix {inherit pkgs packageToml self';}; packages.default = pkgs.callPackage ./default.nix { inherit packageToml; diff --git a/shell.nix b/shell.nix index 5176654..279e3c1 100644 --- a/shell.nix +++ b/shell.nix @@ -1,5 +1,6 @@ { self', + pkgs, packageToml, rust-bin, mkShell, @@ -21,6 +22,8 @@ let }) ]; + buildInputs = [ pkgs.bashInteractive ]; + env.RUST_BACKTRACE = 1; }; in