diff options
author | Bas van Dijk <v.dijk.bas@gmail.com> | 2019-08-19 12:54:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-19 12:54:40 +0200 |
commit | dc374218c9038eb98fe1ba048d89f0df319f53c5 (patch) | |
tree | dd8af8ae0705c5cf13072fa14ee942d0a448e601 /pkgs | |
parent | 16cb2611d9235868c4596c40080fdd24157186d3 (diff) | |
download | nixlib-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')
-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; |