Merge pull request #139758 from collares/sage-threejs-path

threejs-sage: install in expected location
This commit is contained in:
Timo Kaufmann 2021-09-28 20:05:18 +02:00 committed by GitHub
commit cb3342eec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
};
installPhase = ''
mkdir -p $out/lib/node_modules/three
cp -r build version $out/lib/node_modules/three
mkdir -p "$out/lib/node_modules/three/"
cp version "$out/lib/node_modules/three"
cp -r build "$out/lib/node_modules/three/$(cat version)"
'';
}