elixir: remove hardcoded certificate path for curl
The hardcoded CURL_CA_BUNDLE path does not exist on MacOS, which causes all curl calls (e.g. in build scripts) to fail. This commit removes that environment variable, causing curl fall back to NIX_SSL_CERT_FILE instead.
This commit is contained in:
parent
2ed8597999
commit
50f5661c5f
@ -46,8 +46,7 @@ in
|
|||||||
b=$(basename $f)
|
b=$(basename $f)
|
||||||
if [ "$b" = mix ]; then continue; fi
|
if [ "$b" = mix ]; then continue; fi
|
||||||
wrapProgram $f \
|
wrapProgram $f \
|
||||||
--prefix PATH ":" "${lib.makeBinPath [ erlang coreutils curl bash ]}" \
|
--prefix PATH ":" "${lib.makeBinPath [ erlang coreutils curl bash ]}"
|
||||||
--set CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
|
|
||||||
done
|
done
|
||||||
|
|
||||||
substituteInPlace $out/bin/mix \
|
substituteInPlace $out/bin/mix \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user