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:
parent
e49f3a4760
commit
068beb2c07
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,10 @@ rustPlatform.buildRustPackage rec {
|
|||
EOF
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
make build
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
make install PREFIX="${placeholder "out"}"
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue