Revert "buildRustPackage: fix cargoBuildFlags"

This reverts commit deb78151a9.

Mixing up two distinct phases of a derivation's build is not a good idea. See
also https://github.com/NixOS/nixpkgs/pull/91689#issuecomment-657813954.
This commit is contained in:
Maximilian Bosch
2020-07-14 17:39:09 +02:00
parent a224b6e18f
commit 7713fba8f8
2 changed files with 2 additions and 4 deletions
@@ -39,9 +39,7 @@ rustPlatform.buildRustPackage rec {
)
];
# Disable tests until they can be run with --features no-self-update
doCheck = false;
#doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
postInstall = ''
pushd $out/bin