diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2020-05-13 22:19:47 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2020-05-13 22:19:47 +0200 |
commit | 068beb2c07788ea5fd8a47d0ef9d284b47df7dfc (patch) | |
tree | ea4ff7d5830f91865e116b586698bd02d05c670d /pkgs/applications/editors/neovim | |
parent | e49f3a47604b2c18ac2e0aa9afe7bf786d61e34b (diff) |
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.
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r-- | pkgs/applications/editors/neovim/gnvim/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/editors/neovim/gnvim/default.nix b/pkgs/applications/editors/neovim/gnvim/default.nix index e9f42d2b9b5e..3693ff322338 100644 --- a/pkgs/applications/editors/neovim/gnvim/default.nix +++ b/pkgs/applications/editors/neovim/gnvim/default.nix @@ -33,6 +33,10 @@ rustPlatform.buildRustPackage rec { EOF ''; + buildPhase = '' + make build + ''; + installPhase = '' make install PREFIX="${placeholder "out"}" ''; |