effect icon indicating copy to clipboard operation
effect copied to clipboard

devShell from flake.nix seems broken on NixOs

Open adrian-gierakowski opened this issue 9 months ago • 0 comments

What version of Effect is running?

https://github.com/Effect-TS/effect/commit/8883c83b5e7e8ba278f90732d8f8b5f1a995edb5

What steps can reproduce the bug?

after entering devShell via direnv, and running pnpm i I get the following error:

/nix/store/i1jdnip70qb7yh4krlzsgyxs0zdvw7xv-nodejs-22.13.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21535
  if (key == null || signature == null) throw new Error(`Cannot find matching keyid: ${JSON.stringify({ signatures, keys })}`);
                                              ^

Error: Cannot find matching keyid: {"signatures":[{"sig":"MEUCIFi9BYophxX3QG3a5acNjLiow3vuJl77lZ78ZRzFgSJ0AiEA2+LpJqXKe9BP9txmN20SuX99TcI/K4bC/2Wi6alfG4s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"keys":[{"expires":null,"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","keytype":"ecdsa-sha2-nistp256","scheme":"ecdsa-sha2-nistp256","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE1Olb3zMAFFxXKHiIkQO5cJ3Yhl5i6UPp+IhuteBJbuHcA5UogKo0EWtlWwW6KSaKoTNEYL7JlCQiVnkhBktUgg=="}]}
    at verifySignature (/nix/store/i1jdnip70qb7yh4krlzsgyxs0zdvw7xv-nodejs-22.13.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21535:47)
    at fetchLatestStableVersion (/nix/store/i1jdnip70qb7yh4krlzsgyxs0zdvw7xv-nodejs-22.13.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21553:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async fetchLatestStableVersion2 (/nix/store/i1jdnip70qb7yh4krlzsgyxs0zdvw7xv-nodejs-22.13.1/lib/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
    at async Engine.getDefaultVersion (/nix/store/i1jdnip70qb7yh4krlzsgyxs0zdvw7xv-nodejs-22.13.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22298:23)
    at async Engine.executePackageManagerRequest (/nix/store/i1jdnip70qb7yh4krlzsgyxs0zdvw7xv-nodejs-22.13.1/lib/node_modules/corepack/dist/lib/corepack.cjs:22396:47)
    at async Object.runMain (/nix/store/i1jdnip70qb7yh4krlzsgyxs0zdvw7xv-nodejs-22.13.1/lib/node_modules/corepack/dist/lib/corepack.cjs:23102:5)

Node.js v22.13.1

What is the expected behavior?

pnpm should "just work" after entering the shell

What do you see instead?

No response

Additional information

No response

adrian-gierakowski avatar Apr 01 '25 08:04 adrian-gierakowski