Skip to content

Comments

Fix SSH invocation when local SHELL misbehaves#11021

Merged
tomberek merged 2 commits intoNixOS:masterfrom
hercules-ci:issue-11010
Aug 26, 2024
Merged

Fix SSH invocation when local SHELL misbehaves#11021
tomberek merged 2 commits intoNixOS:masterfrom
hercules-ci:issue-11010

Conversation

@roberth
Copy link
Member

@roberth roberth commented Jul 3, 2024

Motivation

Setting it to /bin/sh will make it more predictable when users have their favorite shell in SHELL, which might not behave as expected. For instance, a bad rc file could send something to stdout before our LocalCommand gets to write "started".

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Setting it to /bin/sh will make it more predictable when users have
their favorite shell in SHELL, which might not behave as expected.
For instance, a bad rc file could send something to stdout before
our LocalCommand gets to write "started".

This may help NixOS#11010
@roberth roberth marked this pull request as ready for review August 16, 2024 13:55
@tomberek tomberek merged commit 440de80 into NixOS:master Aug 26, 2024
Ericson2314 added a commit to siddhantk232/nix that referenced this pull request Aug 26, 2024
Necessary to fix a build (that was already broken in other ways) after
PR NixOS#11021.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2024-08-26-nix-team-meeting-minutes-172/51300/1

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.

3 participants