Open pmiddend opened 5 years ago
Can you try using pname
instead of name
?
You can also try to use something like installPhase = "ls -lh";
to check how the directoyr structure ends up after the build (if you can see the build output).
Hope this helps.
I'm building my software using
react-scripts build
which creates abuild/
directory below the current working directory. So, inmkYarnPackage
, I added abuildPhase
that callsreact-scripts build
and aninstallPhase
that tries tocp build/ $out
. However, the install phase doesn't seem to findbuild
, although it's clearly created. What am I doing wrong? On my local machine, referring to it via/build/${name}/deps/${name}/build
works, but it doesn't on my CI server.