Skip to content

fix: Change shebang to use env as the interpreter in noConfigScripts#1049

Merged
rchiodo merged 1 commit into
microsoft:mainfrom
Ardenet:noconfigscript-for-nixos
Jun 3, 2026
Merged

fix: Change shebang to use env as the interpreter in noConfigScripts#1049
rchiodo merged 1 commit into
microsoft:mainfrom
Ardenet:noconfigscript-for-nixos

Conversation

@Ardenet
Copy link
Copy Markdown
Contributor

@Ardenet Ardenet commented Jun 3, 2026

fixes #992

Summary

On Nixos, the directory structure doesn't follow the FHS specification, causing bash to be unavailable at the /bin/bash path. This commit improves noConfigScript's compatibility across Operating Systems by modifying its shebang to dynamically locate the bash interpreter using /usr/bin/env.

Copy link
Copy Markdown
Contributor

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

@rchiodo rchiodo added the bug Issue identified by VS Code Team member as probable bug label Jun 3, 2026
@rchiodo rchiodo enabled auto-merge (squash) June 3, 2026 16:59
@Ardenet Ardenet requested a review from rchiodo June 3, 2026 17:11
@rchiodo rchiodo merged commit 794b1b2 into microsoft:main Jun 3, 2026
16 of 17 checks passed
@Ardenet Ardenet deleted the noconfigscript-for-nixos branch June 4, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

“No-config debugging” feature cannot be used on NixOS

3 participants