git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #139758 from collares/sage-threejs-path

threejs-sage: install in expected location

commitcb3342eec892f912ec2e4ae000b2be4c7ca97f9e authorTimo Kaufmann <timokau@zoho.com> dateTue 28 Sep 2021, 20:05 (5 years ago) parent2447998a5a7c33
1 file changed+3−2
pkgs/applications/science/math/sage/threejs-sage.nix+3−2
pkgs/applications/science/math/sage/threejs-sage.nix+3−2
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
1212 };
1313
1414 installPhase = ''
15− mkdir -p $out/lib/node_modules/three
16− cp -r build version $out/lib/node_modules/three
15+ mkdir -p "$out/lib/node_modules/three/"
16+ cp version "$out/lib/node_modules/three"
17+ cp -r build "$out/lib/node_modules/three/$(cat version)"
1718 '';
1819}