-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
I use S3 as the binary cache. I configure AWS credential using configure-aws-credentials. This action internally sets the system environment variables AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN. These env vars are used by all the AWS operations throughout the CI/CD.
Problem is that some nix commands recognizes the env vars and some don't depending on whether they are ran behalf of nix daemon or not (The inspection is detailed in NixOS/nix#5723). For example, nix path-info -r /nix/store/... --store s3://some-bucket would work while nix-build would not.
I fixed it by adding
- uses: cachix/install-nix-action@v31
with:
install_options: --no-daemonbut I wish I don't have to do this.
Can it be fixed at the install-nix-action level?
Metadata
Metadata
Assignees
Labels
No labels