Merge pull request #112580 from ddfisher/elixir-fix-curl

elixir: remove hardcoded certificate path for curl
This commit is contained in:
Jörg Thalheim 2021-02-13 05:15:16 +00:00 committed by GitHub
commit 63bffaf227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,8 +46,7 @@ in
b=$(basename $f)
if [ "$b" = mix ]; then continue; fi
wrapProgram $f \
--prefix PATH ":" "${lib.makeBinPath [ erlang coreutils curl bash ]}" \
--set CURL_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt
--prefix PATH ":" "${lib.makeBinPath [ erlang coreutils curl bash ]}"
done
substituteInPlace $out/bin/mix \