diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-03-18 13:50:12 +0000 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-03-29 14:09:32 +0100 |
commit | e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7 (patch) | |
tree | e71ca6d06581fbeaaf203b916ca55f0340407da7 /pkgs/build-support/rust/default.nix | |
parent | 10059e4b71ff132a42c0a793f36e5d07a7e11311 (diff) | |
download | nixpkgs-e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7.tar nixpkgs-e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7.tar.gz nixpkgs-e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7.tar.bz2 nixpkgs-e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7.tar.lz nixpkgs-e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7.tar.xz nixpkgs-e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7.tar.zst nixpkgs-e8323a0bf9d677af7f2705f14c6ee145ed8c2cb7.zip |
buildRustPackage: enable strictDeps
This will improve cross-compiling support by forcing users to specify buildInputs/nativeBuildInputs correctly.
Diffstat (limited to 'pkgs/build-support/rust/default.nix')
-rw-r--r-- | pkgs/build-support/rust/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix index 7cfd03a4e26..93770d71a10 100644 --- a/pkgs/build-support/rust/default.nix +++ b/pkgs/build-support/rust/default.nix @@ -181,6 +181,8 @@ stdenv.mkDerivation (args // { doCheck = args.doCheck or true; + strictDeps = true; + inherit releaseDir; installPhase = args.installPhase or '' |