mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 00:02:25 +00:00
tests.installer: Load profile with -o unset
Tested with an ubuntu case. Might need revision depending on what hydra thinks of the rest.
This commit is contained in:
parent
30af4a9e27
commit
2f0db04da0
@ -217,10 +217,16 @@ let
|
||||
$ssh <<EOF
|
||||
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.
|
||||
source ~/.bash_profile || true
|
||||
source ~/.bash_login || true
|
||||
source ~/.profile || true
|
||||
set +u
|
||||
|
||||
source /etc/bashrc || true
|
||||
|
||||
nix-env --version
|
||||
|
Loading…
Reference in New Issue
Block a user