nixpkgs/pkgs/tools/misc/sharedown
emilylange bc47f473be
sharedown: unbreak build
This is essentially a partial revert of
c271196d42 which was a successful attempt
at unbreaking this build back in November 2023.

That workaround, however, no longer, well.. works.

Instead I figured out what was wrong with the initial version and fixed
that.
Hopefully this fix lasts longer than the one before.

The important bit that was missing is that `export npm_config_nodedir`
line.

The code in question is copied from
https://nixos.org/manual/nixpkgs/unstable/#javascript-yarn2nix-pitfalls
d176767c02/doc/languages-frameworks/javascript.section.md (pitfalls-javascript-yarn2nix-pitfalls))

I suggest following the link for even more links as to why some commands
from there are the way they are.
2024-02-15 01:41:11 +01:00
..
default.nix sharedown: unbreak build 2024-02-15 01:41:11 +01:00
update.sh
yarn.lock sharedown: 5.2.2 -> 5.3.1 2023-07-23 03:08:19 +00:00