mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
fetchsvn: set LC_ALL in builder to allow svn to handle unicode filenames
This commit is contained in:
parent
0011f9065a
commit
60dcb9cc01
@ -18,6 +18,10 @@ if test -n "$http_proxy"; then
|
||||
export HOME="$PWD"
|
||||
fi;
|
||||
|
||||
if test -z "$LC_ALL"; then
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
fi;
|
||||
|
||||
# Pipe the "p" character into Subversion to force it to accept the
|
||||
# server's certificate. This is perfectly safe: we don't care
|
||||
# whether the server is being spoofed --- only the cryptographic
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, subversion, sshSupport ? false, openssh ? null}:
|
||||
{stdenv, subversion, glibcLocales, sshSupport ? false, openssh ? null}:
|
||||
{url, rev ? "HEAD", md5 ? "", sha256 ? "",
|
||||
ignoreExternals ? false, ignoreKeywords ? false, name ? null}:
|
||||
|
||||
@ -31,7 +31,7 @@ else
|
||||
stdenv.mkDerivation {
|
||||
name = name_;
|
||||
builder = ./builder.sh;
|
||||
buildInputs = [subversion];
|
||||
buildInputs = [ subversion glibcLocales ];
|
||||
|
||||
outputHashAlgo = "sha256";
|
||||
outputHashMode = "recursive";
|
||||
|
Loading…
Reference in New Issue
Block a user