mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
Revert "tests.installer: Load profile with -o unset"
I must have made a mistake while testing this, because nounset does
not work on any of the distributions.
This reverts commit 2f0db04da0
.
This commit is contained in:
parent
59acf3b75c
commit
c75907e47b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user