From 342655d10c30fc851e0f88e69e6bc4cc436fae31 Mon Sep 17 00:00:00 2001 From: Martin Kourim Date: Thu, 18 Dec 2025 16:30:19 +0100 Subject: [PATCH] feat(dev): add bashInteractive to devShell and update docs - Added `pkgs.bashInteractive` to the Nix development shell to ensure availability of an interactive Bash environment. - Updated README instructions to use `/usr/bin/bash --login` for clarity and consistency. --- README.md | 5 +++-- flake.nix | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 839622856..6f2d1b042 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,6 @@ For workflows requiring repeated test runs on a persistent testnet cluster: ```sh nix flake update --accept-flake-config --override-input cardano-node github:IntersectMBO/cardano-node/master nix develop --accept-flake-config - /bin/bash --login # fresh shell needed ``` 2. Set up the local test environment: @@ -108,6 +107,8 @@ For workflows requiring repeated test runs on a persistent testnet cluster: ./dev_workdir/conway_fast/stop-cluster ``` +> ℹ️ **Pro Tip:** Next time, you can omit step 2 if the environment is already set up. + --- ## ⚙️ Test Configuration Variables @@ -182,7 +183,7 @@ make install cd ../cardano-node git checkout nix develop .#devops -/bin/bash --login # fresh shell needed +/usr/bin/bash --login # run interactive bash cd ../cardano-node-tests source .source.dev ``` diff --git a/flake.nix b/flake.nix index efad9d0b0..97e9e8bf7 100644 --- a/flake.nix +++ b/flake.nix @@ -34,6 +34,7 @@ nodePkgs.cardano-node nodePkgs.cardano-submit-api nodePkgs.bech32 + pkgs.bashInteractive pkgs.poetry py3Full py3Pkgs.virtualenv