summary refs log tree commit diff
path: root/pkgs/development/interpreters/elixir
diff options
context:
space:
mode:
authorDay Fisher <day.fisher@discordapp.com>2021-02-09 11:53:55 -0700
committerDay Fisher <day.fisher@discordapp.com>2021-02-09 11:53:55 -0700
commit50f5661c5fe87e642f6746d3d2553e8b6a50df8b (patch)
treeb6a73e91058cd1f703aed4ba5d5aa6022ff77a1f /pkgs/development/interpreters/elixir
parent2ed859799985f12da6531126e4c7a1f8ac0fe745 (diff)
downloadnixpkgs-50f5661c5fe87e642f6746d3d2553e8b6a50df8b.tar
nixpkgs-50f5661c5fe87e642f6746d3d2553e8b6a50df8b.tar.gz
nixpkgs-50f5661c5fe87e642f6746d3d2553e8b6a50df8b.tar.bz2
nixpkgs-50f5661c5fe87e642f6746d3d2553e8b6a50df8b.tar.lz
nixpkgs-50f5661c5fe87e642f6746d3d2553e8b6a50df8b.tar.xz
nixpkgs-50f5661c5fe87e642f6746d3d2553e8b6a50df8b.tar.zst
nixpkgs-50f5661c5fe87e642f6746d3d2553e8b6a50df8b.zip
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.
Diffstat (limited to 'pkgs/development/interpreters/elixir')
-rw-r--r--pkgs/development/interpreters/elixir/generic-builder.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/elixir/generic-builder.nix b/pkgs/development/interpreters/elixir/generic-builder.nix
index 85e5fdf733c..aaf368017ff 100644
--- a/pkgs/development/interpreters/elixir/generic-builder.nix
+++ b/pkgs/development/interpreters/elixir/generic-builder.nix
@@ -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 \