Why does this javascript import fail in a nix build but succeed in a nix devshell?
My goal is that the following command should run generate.js
which will use d3.js
to build a svg file.
Why does this js import fail in a nix build but succeed in a nix devshell?
I have a flake.nix
with this derivation in the outputs: