summary refs log tree commit diff
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2020-05-13 22:19:47 +0200
committerMaximilian Bosch <maximilian@mbosch.me>2020-05-13 22:19:47 +0200
commit068beb2c07788ea5fd8a47d0ef9d284b47df7dfc (patch)
treeea4ff7d5830f91865e116b586698bd02d05c670d /pkgs/applications/editors/neovim
parente49f3a47604b2c18ac2e0aa9afe7bf786d61e34b (diff)
downloadnixpkgs-068beb2c07788ea5fd8a47d0ef9d284b47df7dfc.tar
nixpkgs-068beb2c07788ea5fd8a47d0ef9d284b47df7dfc.tar.gz
nixpkgs-068beb2c07788ea5fd8a47d0ef9d284b47df7dfc.tar.bz2
nixpkgs-068beb2c07788ea5fd8a47d0ef9d284b47df7dfc.tar.lz
nixpkgs-068beb2c07788ea5fd8a47d0ef9d284b47df7dfc.tar.xz
nixpkgs-068beb2c07788ea5fd8a47d0ef9d284b47df7dfc.tar.zst
nixpkgs-068beb2c07788ea5fd8a47d0ef9d284b47df7dfc.zip
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.nix4
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 e9f42d2b9b5..3693ff32233 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"}"
   '';