0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

cargo-auditable: mark broken if cross

This commit is contained in:
Adam Joseph 2023-04-22 12:46:32 -07:00
parent 75ff3a68f1
commit 758ae7d4f4

View file

@ -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;
};
};