mjolnir: fix build on darwin

This commit is contained in:
Weijia Wang 2023-02-10 19:50:10 +01:00
parent 59ec2e613f
commit cc69e31283

View file

@ -38,6 +38,7 @@ stdenv.mkDerivation rec {
runHook preBuild
ln -s ${nodeDependencies}/lib/node_modules .
export HOME=$(mktemp -d)
export PATH="${nodeDependencies}/bin:$PATH"
npm run build