git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #26372 from risicle/fetchsvn-unicode

fetchsvn: set LC_ALL in builder to allow svn to handle unicode filenames

commit557cc2cb63168d902fe2a5dff56374b8d188b573 authorJörg Thalheim <Mic92@users.noreply.github.com> dateSat 10 Jun 2017, 12:00 (9 years ago) parent5518ccf60dcb9c
2 files changed+6−2
pkgs/build-support/fetchsvn/builder.sh+4 pkgs/build-support/fetchsvn/default.nix+2−2
pkgs/build-support/fetchsvn/builder.sh+4
@@ -18,6 +18,10 @@ if test -n "$http_proxy"; then
1818 export HOME="$PWD"
1919fi;
2020
21+if test -z "$LC_ALL"; then
22+ export LC_ALL="en_US.UTF-8"
23+fi;
24+
2125# Pipe the "p" character into Subversion to force it to accept the
2226# server's certificate. This is perfectly safe: we don't care
2327# whether the server is being spoofed --- only the cryptographic
pkgs/build-support/fetchsvn/default.nix+2−2
@@ -1,4 +1,4 @@
1−{stdenv, subversion, sshSupport ? false, openssh ? null}:
1+{stdenv, subversion, glibcLocales, sshSupport ? false, openssh ? null}:
22{url, rev ? "HEAD", md5 ? "", sha256 ? "",
33 ignoreExternals ? false, ignoreKeywords ? false, name ? null}:
44
@@ -31,7 +31,7 @@ else
3131stdenv.mkDerivation {
3232 name = name_;
3333 builder = ./builder.sh;
34− buildInputs = [subversion];
34+ buildInputs = [ subversion glibcLocales ];
3535
3636 outputHashAlgo = "sha256";
3737 outputHashMode = "recursive";