svanderburg / node2nix

Generate Nix expressions to build NPM packages
MIT License
527 stars 100 forks source link

How to override dependency (not main package) properties? #324

Closed l0b0 closed 11 months ago

l0b0 commented 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.

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:

l0b0 commented 11 months ago

Nevermind, found a workaround. Will provide a nixpkgs PR.