gnvim: fix build

When running the default builder for Rust, the artifacts would be stored
in `target/<arch>/<profile>`, however the `install`-target expects the
default structure (`target/<profile>`) of `cargo`-builds.

When using the Makefile for building as well, the expected structure is
created instead.
This commit is contained in:
Maximilian Bosch 2020-05-13 22:19:47 +02:00
parent e49f3a4760
commit 068beb2c07
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -33,6 +33,10 @@ rustPlatform.buildRustPackage rec {
EOF
'';
buildPhase = ''
make build
'';
installPhase = ''
make install PREFIX="${placeholder "out"}"
'';