about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2019-08-19 12:54:40 +0200
committerGitHub <noreply@github.com>2019-08-19 12:54:40 +0200
commitdc374218c9038eb98fe1ba048d89f0df319f53c5 (patch)
treedd8af8ae0705c5cf13072fa14ee942d0a448e601 /pkgs/development/compilers
parent16cb2611d9235868c4596c40080fdd24157186d3 (diff)
downloadnixlib-dc374218c9038eb98fe1ba048d89f0df319f53c5.tar
nixlib-dc374218c9038eb98fe1ba048d89f0df319f53c5.tar.gz
nixlib-dc374218c9038eb98fe1ba048d89f0df319f53c5.tar.bz2
nixlib-dc374218c9038eb98fe1ba048d89f0df319f53c5.tar.lz
nixlib-dc374218c9038eb98fe1ba048d89f0df319f53c5.tar.xz
nixlib-dc374218c9038eb98fe1ba048d89f0df319f53c5.tar.zst
nixlib-dc374218c9038eb98fe1ba048d89f0df319f53c5.zip
rustfmt: make sure to test rustfmt instead of rustc
Co-Authored-By: symphorien <symphorien@users.noreply.github.com>
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/rust/rustfmt.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/rustfmt.nix b/pkgs/development/compilers/rust/rustfmt.nix
index 62a6ccbbef17..e564cabd85ec 100644
--- a/pkgs/development/compilers/rust/rustfmt.nix
+++ b/pkgs/development/compilers/rust/rustfmt.nix
@@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
   # the rust source tarball already has all the dependencies vendored, no need to fetch them again
   cargoVendorDir = "vendor";
   preBuild = "pushd src/tools/rustfmt";
-  postBuild = "popd";
+  preInstall = "popd";
 
   buildInputs = stdenv.lib.optional stdenv.isDarwin Security;