Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/pr-main_l2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,18 @@ jobs:

- name: Set up Nix
uses: cachix/install-nix-action@v31
with:
# crates.io 403s any User-Agent containing "curl/", which is what Nix's
# fetchurl sends by default, breaking crate downloads during the image
# build. In multi-user (daemon) mode the FOD builds run under the
# nix-daemon and don't see the caller's environment, so override the
# User-Agent via impure-env (honored because the runner is a trusted
# user). Use curl's glued short option `-A<value>`: a single space-free
# token that survives impure-env's space-separated parsing and
# fetchurl's unquoted word-split (curl rejects the --user-agent=value form).
extra_nix_config: |
extra-experimental-features = configurable-impure-env
impure-env = NIX_CURL_FLAGS=-Aethrex-ci+https://github.com/lambdaclass/ethrex

- name: Set up QEMU
run: |
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/pr-main_l2_tdx_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@ jobs:

- name: Set up Nix
uses: cachix/install-nix-action@v31
with:
# crates.io 403s any User-Agent containing "curl/", which is what Nix's
# fetchurl sends by default, breaking crate downloads during the image
# build. In multi-user (daemon) mode the FOD builds run under the
# nix-daemon and don't see the caller's environment, so override the
# User-Agent via impure-env (honored because the runner is a trusted
# user). Use curl's glued short option `-A<value>`: a single space-free
# token that survives impure-env's space-separated parsing and
# fetchurl's unquoted word-split (curl rejects the --user-agent=value form).
extra_nix_config: |
extra-experimental-features = configurable-impure-env
impure-env = NIX_CURL_FLAGS=-Aethrex-ci+https://github.com/lambdaclass/ethrex

- name: Build image
run: |
Expand Down
Loading