Merge pull request #11539 from NixOS/fix-installer-tests

Revert "tests.installer: Load profile with -o unset"
This commit is contained in:
Robert Hensing 2024-09-19 00:04:09 +02:00 committed by GitHub
commit 3df1658ba1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,16 +217,10 @@ let
$ssh <<EOF $ssh <<EOF
set -ex set -ex
# enable nounset while loading the profile
# this may or may not work on all distros, depending on the quality of their scripts
set -u
# FIXME: get rid of this; ideally ssh should just work. # FIXME: get rid of this; ideally ssh should just work.
source ~/.bash_profile || true source ~/.bash_profile || true
source ~/.bash_login || true source ~/.bash_login || true
source ~/.profile || true source ~/.profile || true
set +u
source /etc/bashrc || true source /etc/bashrc || true
nix-env --version nix-env --version