Closed l0b0 closed 11 months ago
I'm trying to use node2nix to create a workaround for the recent aws-azure-login breakage in NixOS 23.11, seemingly caused by Puppeteer missing Chromium.
node2nix
aws-azure-login
The first thing I need to solve is this error:
ERROR: Failed to set up Chromium r982053! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
I can't seem to figure out how to set this variable after importing default.nix. What I've tried so far:
default.nix
"puppeteer_skip_download": true
package.json
node-packages.nix
env
Nevermind, found a workaround. Will provide a nixpkgs PR.
I'm trying to use
node2nix
to create a workaround for the recentaws-azure-login
breakage in NixOS 23.11, seemingly caused by Puppeteer missing Chromium.The first thing I need to solve is this error:
I can't seem to figure out how to set this variable after importing
default.nix
. What I've tried so far:"puppeteer_skip_download": true
inpackage.json
node-packages.nix
to setenv
directly