Closed quinn-dougherty closed 2 years ago
configurePhase = ''
cp -r ${nodeDependencies}/lib/node_modules .
export PATH="${nodeDependencies}/bin:$PATH"
chmod -R +w node_modules
mkdir -p node_modules/rescript-fast-check/lib
'';
This is a ReScript limitation, there's nothing I as a library author can do to work around it.
In
nix
, I can't build a rescript package that depends onmocha
.Is there a way I can avoid
mkdir
? Note this failure is at the stage of calling therescript
executable to build, not even running tests yet.With
nix
and flakes, you can reproduce by cloning (checkout70afaebb8e8578ab8fbafda2a5d088e0a3feaf4e
) and runningnix build .#nashwires