mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
fetchfossil: Don't let Fossil write to $out/.fossil.
This commit is contained in:
parent
20a0e2e3bf
commit
23a50ca407
@ -3,7 +3,8 @@ header "Cloning Fossil $url into $out"
|
|||||||
|
|
||||||
# Fossil, bless its adorable little heart, wants to write global configuration
|
# Fossil, bless its adorable little heart, wants to write global configuration
|
||||||
# to $HOME/.fossil. AFAICT, there is no way to disable this functionality.
|
# 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.
|
# We must explicitly set the admin user for the clone to something reasonable.
|
||||||
fossil clone -A nobody "$url" fossil-clone.fossil
|
fossil clone -A nobody "$url" fossil-clone.fossil
|
||||||
|
Loading…
Reference in New Issue
Block a user