mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
beamPackages.mixRelease: replace certifi bundle with cacert
Assisted-By: Claude Opus 5.5 low in claude-code/2.1.303
(cherry picked from commit fdb7d51bd1)
This commit is contained in:
@@ -167,9 +167,12 @@ stdenv.mkDerivation (
|
||||
export MIX_DEPS_PATH="$TEMPDIR/deps"
|
||||
cp --no-preserve=mode -R "${mixFodDeps}" "$MIX_DEPS_PATH"
|
||||
|
||||
if [ -f "$MIX_DEPS_PATH/castore/priv/cacerts.pem" ]; then
|
||||
cp "${cacert}/etc/ssl/certs/ca-bundle.crt" "$MIX_DEPS_PATH/castore/priv/cacerts.pem"
|
||||
fi
|
||||
local dep
|
||||
for dep in castore certifi; do
|
||||
if [ -f "$MIX_DEPS_PATH/$dep/priv/cacerts.pem" ]; then
|
||||
cp "${cacert}/etc/ssl/certs/ca-bundle.crt" "$MIX_DEPS_PATH/$dep/priv/cacerts.pem"
|
||||
fi
|
||||
done
|
||||
''}
|
||||
''
|
||||
+ (attrs.postUnpack or "");
|
||||
|
||||
Reference in New Issue
Block a user