diff options
author | Adam Joseph <adam@westernsemico.com> | 2023-04-22 12:46:32 -0700 |
---|---|---|
committer | Adam Joseph <adam@westernsemico.com> | 2023-04-22 12:56:30 -0700 |
commit | 758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e (patch) | |
tree | 652747168461a2e9438cab4e511643428d9ed467 /pkgs/development/compilers/rust | |
parent | 75ff3a68f183ad59b27ec31bd462e23569cd5fcc (diff) | |
download | nixlib-758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e.tar nixlib-758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e.tar.gz nixlib-758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e.tar.bz2 nixlib-758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e.tar.lz nixlib-758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e.tar.xz nixlib-758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e.tar.zst nixlib-758ae7d4f44e7d0544f4b57debdbd1d385c9ea3e.zip |
cargo-auditable: mark broken if cross
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r-- | pkgs/development/compilers/rust/cargo-auditable.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/cargo-auditable.nix b/pkgs/development/compilers/rust/cargo-auditable.nix index 34549e1982ed..49968cc899ba 100644 --- a/pkgs/development/compilers/rust/cargo-auditable.nix +++ b/pkgs/development/compilers/rust/cargo-auditable.nix @@ -1,4 +1,6 @@ -{ lib, fetchFromGitHub, makeRustPlatform, rustc, cargo, installShellFiles }: +{ lib +, stdenv +, fetchFromGitHub, makeRustPlatform, rustc, cargo, installShellFiles }: let args = rec { @@ -25,6 +27,7 @@ let changelog = "https://github.com/rust-secure-code/cargo-auditable/blob/v${version}/cargo-auditable/CHANGELOG.md"; license = with licenses; [ mit /* or */ asl20 ]; maintainers = with maintainers; [ figsoda ]; + broken = stdenv.hostPlatform != stdenv.buildPlatform; }; }; |