Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cachix-action failing #304

Closed
tomjaguarpaw opened this issue Jun 14, 2024 · 1 comment · Fixed by #305
Closed

cachix-action failing #304

tomjaguarpaw opened this issue Jun 14, 2024 · 1 comment · Fixed by #305
Assignees

Comments

@tomjaguarpaw
Copy link
Collaborator

The cachix-action action is failing, and that breaks our CI and deploy pipelines. Pinging our Nix expert @rebeccaskinner. Maybe @TikhonJelvis could help also.

We get

         … while evaluating the 'drvPath' attribute of a derivation
           at /nix/store/2xhmq8r9iwn448gir09j4qg95gjypsj4-source/default.nix:19:17:
             18|                 # TODO: we lie here so that Nix won't build it
             19|                 drvPath = builtins.storePath (builtins.getAttr outputName outputs);
               |                 ^
             20|               };
  
         error: store path 'acfsgbmlm31ijimwrd5g96sgh59lmlc7-cachix-1.7.4-bin' is not a valid derivation path

https://github.com/haskell-infra/www.haskell.org/actions/runs/9507732828/job/26220105513?pr=301

I thought that bumping the version might fix it, but that didn't work:

  error:
         … while evaluating the 'drvPath' attribute of a derivation
           at /nix/store/2xhmq8r9iwn448gir09j4qg95gjypsj4-source/default.nix:19:17:
             18|                 # TODO: we lie here so that Nix won't build it
             19|                 drvPath = builtins.storePath (builtins.getAttr outputName outputs);
               |                 ^
             20|               };
  
         error: store path 'acfsgbmlm31ijimwrd5g96sgh59lmlc7-cachix-1.7.4-bin' is not a valid derivation path
  /home/runner/work/_actions/cachix/cachix-action/v15/dist/main/index.js:1702
                  error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);
                          ^
  
  Error: The process '/usr/bin/bash' failed with exit code 1
      at ExecState._setResult (/home/runner/work/_actions/cachix/cachix-action/v15/dist/main/index.js:1702:25)
      at ExecState.CheckComplete (/home/runner/work/_actions/cachix/cachix-action/v15/dist/main/index.js:1685:18)
      at ChildProcess.<anonymous> (/home/runner/work/_actions/cachix/cachix-action/v15/dist/main/index.js:1579:27)
      at ChildProcess.emit (node:events:519:28)
      at maybeClose (node:internal/child_process:1105:16)
      at ChildProcess._handle.onexit (node:internal/child_process:305:5)
  
  Node.js v20.13.1

https://github.com/haskell-infra/www.haskell.org/actions/runs/9512381697/job/26220261063?pr=303

@rebeccaskinner
Copy link
Collaborator

I'm not immediately sure what's going on but I'll start digging into this today.

@rebeccaskinner rebeccaskinner self-assigned this Jun 15, 2024
@rebeccaskinner rebeccaskinner linked a pull request Jun 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants