Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NixOS support (Multi-Linux Distro Support) #1310

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AadithyanRaju
Copy link

@AadithyanRaju AadithyanRaju commented Mar 5, 2025

using bash scriptname helps in deployment in nixos
cause output of (which bash) is /run/current-system/sw/bin/bash instead of /bin/bash

@AadithyanRaju AadithyanRaju requested a review from a team as a code owner March 5, 2025 06:11
@AadithyanRaju AadithyanRaju changed the title modified script calls NixOS support (Multi-Linux Distro Support) Mar 5, 2025
to enable multidestro support

Signed-off-by: AadithyanRaju <[email protected]>
@bestbeforetoday
Copy link
Member

Thank you for taking the time to address the issue you see running in environments where bash is not located at /bin/bash. Does it work on your system to change the shebang at the top of all the test-network script from:

#!/bin/bash

to:

#!/usr/bin/env bash

That seems to me a cleaner (or at least more standard) solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants