Repository navigation
clash-rs: 0.7.4 -> 0.7.5 - #382251
clash-rs: 0.7.4 -> 0.7.5#382251
Conversation
30328be to
d837d7a
Compare
d837d7a to
ab96967
Compare
|
momeemt
left a comment
There was a problem hiding this comment.
It failed to build on my aarch64-darwin environment.
❯ nix-store -l /nix/store/0ji927vdxz9y89pc76wr4sf0z30rs558-clash-rs-0.7.5-vendor-staging.drv
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/7c4y7d5gqvh9x93w0dsw56dzicy7xq8q-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
Traceback (most recent call last):
File "/nix/store/1kjmldad7i8dq70hbv46fdb12qdm4ipp-fetch-cargo-vendor-util/bin/fetch-cargo-vendor-util", line 15, in <module>
import requests
File "/nix/store/p690r5cdk99ic6fn39g1fmqw4sg5ikfc-python3-3.12.8-env/lib/python3.12/site-packages/requests/__init__.py", line 164, in <module>
from .api import delete, get, head, options, patch, post, put, request
File "/nix/store/p690r5cdk99ic6fn39g1fmqw4sg5ikfc-python3-3.12.8-env/lib/python3.12/site-packages/requests/api.py", line 11, in <module>
from . import sessions
File "/nix/store/p690r5cdk99ic6fn39g1fmqw4sg5ikfc-python3-3.12.8-env/lib/python3.12/site-packages/requests/sessions.py", line 15, in <module>
from .adapters import HTTPAdapter
File "/nix/store/p690r5cdk99ic6fn39g1fmqw4sg5ikfc-python3-3.12.8-env/lib/python3.12/site-packages/requests/adapters.py", line 81, in <module>
_preloaded_ssl_context.load_verify_locations(
PermissionError: [Errno 1] Operation not permitted
|
Can you try again? It seems like a request failure from fetchCargoVendor. |
ab96967 to
22a66ca
Compare
|
AFAICT the error is because the Related issue: #385366 A possible global fix would be to not use the I'll send a temporary solution in a bit. |
|
Here's a temporary fix you could add to your local checkout of nixpkgs: diff --git a/pkgs/build-support/rust/fetch-cargo-vendor.nix b/pkgs/build-support/rust/fetch-cargo-vendor.nix
index ce015b099382..5cb2de7c7619 100644
--- a/pkgs/build-support/rust/fetch-cargo-vendor.nix
+++ b/pkgs/build-support/rust/fetch-cargo-vendor.nix
@@ -61,7 +61,6 @@ let
nativeBuildInputs =
[
fetchCargoVendorUtil
- cacert
]
++ lib.optionals allowGitDependencies [
nix-prefetch-git
@@ -75,6 +74,8 @@ let
cd "$cargoRoot"
fi
+ export NIX_SSL_CERT_FILE="${cacert}/etc/ssl/certs/ca-bundle.crt";
+
fetch-cargo-vendor-util create-vendor-staging ./Cargo.lock "$out"
runHook postBuild |
|
@aaronjheng could you rebase your PR on a later commit? (e.g. the current master) |
@TomaSajt I did not see anything. Could you please point it out for me? |
I'm not sure I understand what you mean by not seeing anything. To clarify, you have added a like to GitHub is not complaining about merge conflicts, since the change is EXACTLY the same. In any case, please rebase your PR on master. |
22a66ca to
4f584c1
Compare
|
Thanks. Done. |
4f584c1 to
e9d2ac1
Compare
e9d2ac1 to
fd3518c
Compare
TomaSajt
left a comment
There was a problem hiding this comment.
LGTM, built on x86_64-linux
Sandboxing issue, unrelated to PR changes
|
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.