mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
cargo-embassy: fix build on darwin
This commit is contained in:
parent
7830da27bd
commit
790abc9b4e
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
lib,
|
||||
stdenv,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
|
@ -18,7 +19,7 @@ rustPlatform.buildRustPackage {
|
|||
hash = "sha256-C8eFQFHYIj2P+zPOKLVBNX97UDVbbcdjbqh5n53ktCU=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
|
||||
udev
|
||||
];
|
||||
|
||||
|
@ -34,6 +35,7 @@ rustPlatform.buildRustPackage {
|
|||
homepage = "https://github.com/adinack/cargo-embassy";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = [ lib.maintainers.samw ];
|
||||
platforms = lib.platforms.unix;
|
||||
mainProgram = "cargo-embassy";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue