diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/compilers/rust/rustfmt.nix | 2 |
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; |