From 23a50ca40776464ea18dc1c7136a37d3e11c5840 Mon Sep 17 00:00:00 2001 From: Corbin Date: Thu, 18 Aug 2016 23:16:37 -0700 Subject: [PATCH] fetchfossil: Don't let Fossil write to $out/.fossil. --- pkgs/build-support/fetchfossil/builder.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/build-support/fetchfossil/builder.sh b/pkgs/build-support/fetchfossil/builder.sh index a44296543be..89bfeb89cfc 100644 --- a/pkgs/build-support/fetchfossil/builder.sh +++ b/pkgs/build-support/fetchfossil/builder.sh @@ -3,7 +3,8 @@ header "Cloning Fossil $url into $out" # Fossil, bless its adorable little heart, wants to write global configuration # to $HOME/.fossil. AFAICT, there is no way to disable this functionality. -export HOME=. +# Instead, we'll let it write to the build directory. +export HOME=$(pwd) # We must explicitly set the admin user for the clone to something reasonable. fossil clone -A nobody "$url" fossil-clone.fossil